Definitely. The 4 ports form a switch in default configuration.
Someone familiar with Tomato could go one step further and, I think, suggest how to add the WAN port to that same switch. It can be done but I'm not familiar enough with Tomato in this regard. The WAN port could become like the extra "uplink" port available on some older routers.