can i use CAPsman in switch to manage my AP ??

can i use CAPsMAN in microtik switch to manage the AP in term of ssid and security while it will get the ip from another dhcp server that the switch is connected to???

Yes. CAPSman is not responsible of DHCP … it manages interfaces in CAPs.