No! A pi makes a terrible router, you need something with a bit more power. Flash openwrt onto a cheap wireless router you already have and use it as a dumb access point for an opnsense router.
I built mine out of an old fanless pc meant for running digital signage (usually super cheap on eBay). Has like 6 HDMI ports and 2 nics. You can get a computer with more nic ports if you want more vlans/isolated networks. But for most home uses, a 2 port setup works well. One for communicating with your ISP and one for communicating with your dumb OpenWRT access point.