We have done this for several customers and you have some choices here but in the end you will need and Azure Function to automate the creation of your site following a template that you have previously created PnP