Use Turris Omnia as a switch?

Is it possible to use the Turris Omnia as a switch with a firewall? E.g. there’s a large network and I want to connect some devices directly with it, but with some restrictions on the incoming connections.

I can create the firewall rules on the command line, but I do not want to brick anything when changing the routing/switch part, how can I do that?

There is an existing similar question, but I could not find an appropriate solution: Omnia as a switch