@Adam given that it runs OpenWRT out of the box (you might need to install your own to modify it, not sure yet), you might be able to install it... (this looks promising: https://discourse.pi-hole.net/t/pihole-directly-on-routers-tomato-merlinwrt-dd-wrt-openwrt/1314 ) but haven't fully read or tried it myself (yet).