HA app location tracking as a standalone app & add-on - replace Life360?

Would it be possible to create the option to use MQTT as a means to update at least just the location tracking info using the companion app on Android and IOS?

It would be nice if this feature restricts access at the server level rather than the client level. So from public access HA UI cant be reached but an https:// endpoint is open for receiving JUST location data from clients.

This way, the feature also increases security for exposed HA instalations.