The Raspberry Pi (or any capable SBC for that matter) can be a full-on replacement for many things in your networking ...
Before you start building your network ... you can pair your custom router with a DNS-based blocking tool like Pi-hole, which ...