Zend certified PHP/Magento developer

is it a good idea to create a VLAN for docker containers, and how to do it

I have a Unifi Dream Router for my network, and a Synology to run my docker containers.

I’m thinking that if I can create separate network for my docker containers; I can correctly setup firewall rules between my IoT devices, my containers and my ‘normal’ network.
Sadly I don’t find much info: I can use macvlan to expose my dockers on my network as separate networks. But this still means they will be in the same network as my Synology.
As such I won’t be able to easily make rules on how traffic can flow between my docker containers (f.e. mqtt, homeassistant, zigbee) and IoT devices

Is it possible to force all my docker containers into 1 unifi network?
Is it a good idea to do this?
How would I configure this in docker and in unifi?