IPSec question

Does mikrotik router support ipsec tunnel betwen two locations with pppoe wan and static public IP?

thanks!