A supported router with more than 4 ports

you can use multiple vlans on each interface
and you can also use a usb to Ethernet but I would not recommend it
better to offload all that stuff to a managed switch maybe
oh there are some switches you can load openwrt into
never done it tho but maybe what you are looking for