Hello,
Certain Mikrotik models support 802.1q vlan tagging, see: http://wiki.mikrotik.com/wiki/Manual:Switch_Chip_Features#Example_-_802.1Q_Trunking_with_Atheros_switch_chip_in_RouterOS_v6
It is possible to use an Edgerouter also for the purpose of distributing VLANs with different SSIDs. One of our operators used Unifi’s to connect to each vlan coming from the Edgerouter.