No CM4 and accompanying carrier board needed . A regular RPi4 with a USB3 gigabit adapter makes for a good gigabit home router. I have been using one as my home gigabit router for the last 14 months without any issues.
That’s not much of a router with just two ports and no WiFi.