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.
You can throw a raspberry pi into the stack as a pihole if you want. I’ve done that for a long time. Especially of the dns filtering in opnsense is causing issues, or you just like the pihole interface.
Main reason to not use a pi is that they’re notoriously unreliable and a router needs to be pretty rock solid.