Once we have storage foundation[0] we can install "any" db in the browser. Of course the communication protocol would have to be tweaked a bit. Until then see absurd sql[1]
[0] https://web.dev/storage-foundation/
[1] https://hackaday.com/2021/08/24/sqlite-on-the-web-absurd-sql...