Generating static pages and hosting it independent of ghost


I am looking to find ways to publish the posts built on Ghost CMS to be able to host them independently on something like S3 + Cloudfront.
Is it possible? I couldn’t find any leads other than the gatsby-ghost starter repo. Though this doesn’t meet my requirements, I want the ability to manage styling in Ghost that let’s me preview how things look as I write.

Is there a way to do this where I generate the static build with all the dependencies included that can be run as a standalone server to serve the content?