Yes. I use a DNSBL in my router (pfBlockerNG), and I've been considering writing a small script to resolve every IP in the blocklist and then block outgoing connections to those IPs.
Of course this is only useful at home. As soon as my phone leaves the house, everything is open again.