mikrotik and unifi access point

Hi all, is it possible if the unifi access point is connected to the mikrotik router but using the vlan without passing the manageable switch?please clue