Create new project from template without gui

Hi everyone.
I would like to know if there is a way to create through script a new project from an existing template like I would by launching the editor an manually create a project.
I know that you can create project files with the UnrealBuildTool but from what I have understood, it’s more axed for developpment purpose and not creating a usable project for artist, but I’m surely missing something here.
If someone could pinpoint me, I would be thankful

Thanks for reading !