I imagine this is similar in concept to Webflow, Wix, Squarespace, etc? As in, a tool to build a custom static website with easily editable content.
Since this needs a lot of code to actually create a site, why not create a CMS instead that can be connected through an API to a SSG?