If you install ExifTool, then you can capture the lat,long from the comment field and then apply that data to the GPS content of the image.
I have written a Zsh script that takes an image, extracts the contents of the comment field to see if it exists and is numeric, and then populates an array with the latitude and longitude values. It then uses ExifTool to apply this gps data to the image, and then confirms it with printing the assigned dms coordinates.


It is 9:30 p.m. here so I am done with this for the day, but in the morning, I can take the Zsh script and put it inside of a macOS Shortcut, have it take a folder in the Finder acting as a Quick Action. Then test it, and provide you with a link where you can then download that Shortcut.