Yes. There is a Java interface that allows you to implement in memory handling of all output.
This is achieved by passing in your own implementation of CustomIO
We have made available the existing code which handles this on which you can base your own implementation. Code at http://files.idrsolutions.com/htmlSrc/org/jpedal/render/output/io/DefaultIO.java.html