As long as the basic settings, such as page width and height don't change, that's not impossible. You can already add and remove pages dynamically at runtime via the API (batchpages uses that for adding pages). So it'd be possible to write a plugin that swaps out the content entirely.
This is a very unique requirement, though (I think?), so we'll best continue this via mail (you already contacted Hans, I believe).