And if not directly, you can usually convert PDF files to PostScript and pull out data from that. So then it is a matter of batching some logic so you can create an automated script to break out the pages individually, the information you need to rename the pages and then concatenate them back together into your final targeted output.
I used to do this kind of stuff all the time for a large-scale print runs in the print shop, while populating the web server.
I used to do this kind of stuff all the time for a large-scale print runs in the print shop, while populating the web server.