Static sites are closer - we serve prerendered html files. If self hosting right now you will just serve several static files, rendering happens in the browser. Themes are DSL and can't inject arbitrary code into the engine, whether it's running on the server or in the browser.