Is there a way to create Content Type Policy Templates through CSOM in SharePoint Online? I don't mean applying a policy, but rather just creating the template for the policy, which can later be used by the users.
Here is the article which explains how to do it as a user (check the first section - Create a policy for multiple content types within a site collection).