macOS does not have a built-in mechanism for spoofing/mocking/faking a user’s physical GPS location.

However, the Chrome browser allows editing a user’s Geolocation using specific latitude and longitude coordinates.

Chrome’s Sensors configuration menu allows setting a precise lat/lng location, preventing the need for a VPN or other system for falsifying one’s location.

With the Chrome Dev Tools open click the three-dots menu icon -> More tools -> Sensors and set the Location override as needed.