Hiya Jeff,
I haven’t been able to find a script, sorry. And you’re right, you won’t find an option in Object Styles because there’s no “Rule Above/Below” option for objects as there is for text.
I was fooling around with this, and I think I’ve hit on a way you can quickly accomplish this with a little bit of prep work.
You can create a text frame the height of the area where you want the top-most and bottom-most images to go, and a rough width. Then drag out an empty image frame and cut/paste it into the text frame so it’s anchored. Add a return after it, then paste the same empty frame inside, add a return, etc. Let’s say you have 4 image frames. Then create a style for the empty returns with a Rule Above or Below with the offsets you want so it appears in between the images, and apply that to the empty paragraphs.
Now you can File > Place, select the images you want for that column, and click inside each to place them. As you adjust their heights the rule will move up/down accordingly. The rule cannot be adjust to fit different widths though … it’ll be the width of the column holding the anchored images, plus/minus any horizontal offsets.
Would that work? I took a couple screen shots of my test, one in Normal mode and one in Preview.
https://www.dropbox.com/s/swqg67h7hxsnyjo/rules%202.png?dl=0
https://www.dropbox.com/s/gxf422fp5y7dv40/rules1.png?dl=0
Then you can copy/paste that completed column elsewhere, and place new images inside the duped ones.
AM