It appears not. Safari appears to remove the GPS data when you upload. I tested it myself by uploading a photo to https://exif.tools/ and no GPS location was reported. The same image copied to my laptop and then checked locally with exiftool did have the GPS location.
Also see this thread https://apple.stackexchange.com/questions/326789/gps-exif-fr...