You can do the same and a bit more with sqlite through agentfs

https://github.com/tursodatabase/agentfs

This is really interesting! Thanks