This was possible. We were able to enable logging and get a capture of a PN query. We could then execute that query against the Oracle DB. Lots of concerns with this approach because the query could interfere with normal operations of Aternity. We ended up moving to SaaS and now use the REST API to query DB.
If you have any questions just reach out on the forum.