Interestingly, one of the brands that does reportedly work natively with Homelink is Merlin/Chamberlain. So, you can set a Merlin door to toggle its open/close state as the car approaches or leaves. However, my understanding is that it doesn't read the current position, so if you drive onto your driveway while the door is open, then the garage door will close automatically.
Even more interestingly, the Merlin brand's own wifi adapter (MyQ) does read the garage door state. Theoretically, you could use the phone's GPS location to automatically trigger garage door opening & closing, and avoid the problem I've mentioned above. So, if you drive into the driveway & the door is already open, MyQ knows this & won't toggle the garage door into a closed position. However, Merlin have made some sort of decision in Australia not to allow MyQ to link with Apple Homekit, so this GPS activation isn't available. All that we can do is use the substandard Homelink system (which I don't have myself).