Apps for Mac don’t have to be in the Apple Store, though most are. Google Earth for iOS and iPadOS is available in the App Store.
The Mac version is Google Earth Pro, so you may run into the same issue. If you just need Street View, may I strongly suggest Apple Maps‘ “look around” feature. It’s not available everywhere yet, sadly, but it is available throughout North America and Europe and is IMO streets better than the largely outdated-now Street View.
Bonus, Apple Maps doesn’t spy on you while you’re using it!