This sounds exactly like the argument that killed WebSQL in 2010: https://en.wikipedia.org/wiki/Web_SQL_Database
I am still salty about this, as WebSQL would have made it much easier to build a certain class of web apps.
You can still use <https://github.com/jlongster/absurd-sql>. <https://jlongster.com/future-sql-web>