What if I don't have an iPhone?
I wonder whether this could be automated, e.g. you click on the macOS toolbar and a macOS app communicates with an Android app and the apps do the needed actions in the respective operating systems (enable tethering on Android, connect to the WiFi network from macOS).