If you google: script swap image Indesign without quotes you should get a list of pages offering scripts to swap images.
To assure that all frames are identical, select one and reset height, width, and stroke, then select the rest and use Object > Transform Again > Transform Sequence Again Individually.