Does APO work with cloudflare for saas

If i enable Cloudflare for saas and use apo, will it also be enabled for custom hostname or vanity domain names