PiHole goes a long way.. for mobile, I've setup wireguard at home, which lets my phone use my PiHole for DNS... Was the most convenient self-host option for it... bonus, is it blocks ads for other devices too.
I use nextDNS (not affiliated) which is hosted version of PiHole. At home, you can change Wi-Fi router's settings to use nextDNS as DNS server. That way, all your devices goes through nextDNS. Safari can be configured to bypass default DNS though..