I would like to bring attention to this project. They aim to function in an application firewall like manner and manage to block connections by category, classified by domain name. Android only though, and the 'full' version is available only on f-droid due to some anti-adblock-like Play store policy. https://trackercontrol.org/