All of this is very much possible.
But you need to do some homework …
VLAN:
http://forum.mikrotik.com/t/using-routeros-to-vlan-your-network/126489/1
CAPSMAN:
https://help.mikrotik.com/docs/display/ROS/WiFi#WiFi-CAPsMAN-CAPVLANconfigurationexample:
All of this is very much possible.
But you need to do some homework …
VLAN:
http://forum.mikrotik.com/t/using-routeros-to-vlan-your-network/126489/1
CAPSMAN:
https://help.mikrotik.com/docs/display/ROS/WiFi#WiFi-CAPsMAN-CAPVLANconfigurationexample: