interVlan Routering with only routerBoard

Hi, mikrotik is a very new thing for me and i couldn’t find any answers for my question.
So, I have a mikrotik routerBoard hAp AC Lite with switch on chip atheros8227. My question is can i use this board switch and router at the same time.
I have a problem like i have to connect 4 different LANs and one of them should communicate with every LANs but other ones shouldnt communicate with each outher.
As i searched and find that every one using one switch and one router. I don’t have seperate switch so can i do this with only Mikrotik routerboard? And if that is possible how can i do that.
I appreciate every answer thanks.

Default config, create VLAN interfaces, block any intervlan traffic except what you want.

But first, start reading this: http://forum.mikrotik.com/t/using-routeros-to-vlan-your-network/126489/1

You don’t need switch functionality if you want separate LAN on each of the ports.