Here’s one way that I have done something similar that might work for you.
You would have to do this method page by page.
Create a new third document. Set up a layer called TEXT and a layer called IMAGES. (You can call them whatever- but the naming must be identical in both source and destination)
In your two source docs ensure that the layers are identically named.
(I’m assuming that all text is on one layer in that doc, and all images are on the same layer in the images source doc)
Make sure that you have turned on PASTE REMEMBERS LAYERS
Then, page by page, select all images on the TEXT source and paste into the new master, and select all Images on the corresponding IMAGE source doc, and paste that into the new master.
Depending on the way that the superimposed layers align, you may need to switch on IGNORE TEXT WRAP if your images are using text wrap.
This method will still work if your source docs use multiple layers, but it is critical that the name of the layer exactly matches the name of the layer onto which it will be pasted.
Also- depending on exactly how your source docs are set up, you could use one of them as the new master and paste from the other—a bit quicker, but for something like this, creating a new third doc to be master is probably a bit safer.
Good luck