Matrix allows for time-based location sharing. The Element clients have it implemented.
Also Nextcloud with the Phonetrack application installed. I use the uLogger app on Android for 24x7 location recording and it uses less than 2% of the battery over a day.
I do this. I self-host rather than use Beeper but the effect is the same. Single client (Element) to my own Matrix server (Synapse) with bridges to WhatsApp, Signal, Telegram and Slack.
Back in the 90s I hoped that being online would raise everyone's game and we'd all become more technical, in general, and adapt. Sometimes, now, it feels the opposite.
In Element, no.
In Nextcloud, yes.