Just a bit of feedback here:
My initial thought and expectation was, that the script would just migrate the data from the old table to the new table. I have on a clean J5 installation restored the image files and imported the old J3 tables.
Adding the joomgallery.xml file would actually be the simplest option from where I was. Likely once I will make the final migration before going live, I will use this option.