Can I create flutter app builder?

I am just creating a new app using flutter, about to complete. I am planning to create a flutter app builder, which would generate android apk, after accepting required fields like app name, package name, google services.json,… My idea is somewhat similar to appbuilder

Additionally, I would include a purchase code verification… The benefit is it would be useful to buyers who don’t have any technical knowledge. They could generate their apk, without undergoing through the process of downloading android studio, flutter,… Basically, the apk will be generated in the cloud… However, I will also share the source files, so that they can use it for further customization.
I am not sure, if I could create a such builder and give the link to it to the buyers.
Can anyone let me know, if I can?