Programmatically generate new pages for a site based on page template and content elements accessed via DB

Sounds like you’d just be able to make a custom post type in WordPress, a page template that displays that post type, and then import new content at will.

If you will be importing large datasets and need pages created on the fly, you can probably use an importer plugin for that: http://www.wpallimport.com/