Is it possible to enable an access policy on both a pages.dev subdomain project as well as a custom

Is it possible to enable an access policy on both a pages.dev subdomain project as well as a custom domain tied to it?
Was this page helpful?