Better install adguard home from the community repo - it offers similar functionality to pihole, including a nice Interface.
It's in there after you install this additional repo: https://www.routerperformance.net/opnsense-repo/