Maybe some custom routing will do the job for you? We have an example of this in XPhoot.
See site.xml: https://github.com/enonic/app-xphoot/blob/master/src/main/resources/site/site.xml
This way you can create a controller to handle any request within a given path or matching a specific content.
NB! Function is experimental. Some changes might occur.