There are some “VPN” apps that can stop connections system-wide. I’m not sure about custom block lists, but take a look at the free Lockdown app (it’s FOSS). It does all processing on-device. There’s also a paid app (which for me is an expensive subscription) called Guardian Firewall, which uses its servers to process requests.