Aren't private DNS or PiHoles a good enough compromise ?
That can block some trackers, but does not block ads or “suggested” content. There are also some devices that have hardcoded DNS settings that bypass any local network DNS settings.
You can intercept those as long as they're not using DoH/DoT.