We have some ideas of compiling Postgres to wasm and sync with the mothership in the cloud. But we haven’t funded the work. Check out electricsql they are looking at this problem.
Hybrid serverless <> local-first is the future. Neon in the client would be so cool.