That set of features literally already exists. An iDevice will very aggressively warn your about trackers that don’t belong to you following you around. But of course only on iDevices. Though there’s no way to share an AirTag with someone else. (That might open up the risk that a stalker could “share” an AirTag with their victim in a way they’re not aware of for the purpose of silencing those alerts)