Yea that's a large aspect of the library I've been authoring: https://app.radicle.xyz/nodes/rad.credenso.cafe/rad:z2FFSbsMXEbH85EEdBMefsZLVSpj9
It's not very well documented but in simplest terms it's a webserver that connects to a nostr relay as the database. It enables SSR, event caching, session management and like... a lot of stuff. You can see an example of the library being used to build a basic web page here: https://app.radicle.xyz/nodes/rad.credenso.cafe/rad:z5P378xfViaBPPcPTHiwzdFeD19B/tree/app.py
Shoot me a PM if you want to know more, documentation is obviously not great because I'm still making sweeping changes all over but having more input would be helpful