@rajeevy89244319 Currently, there is no API available to create the editable templates programmatically.
To create a copy of existing editable templates and policies, you just need to update the .content.xml file as per your requirement and template type
or else you can simply build the editable templates inside /conf folder with the help of CRXDE.
Please let me know if you need any help. I am happy to help