Consider you compiled sqlite to wasm and then run it under a wasm interpreter https://github.com/perlin-network/life and implemented the sqlite https://www.sqlite.org/vfs.html interface in go.
Not saying one way is better or worse, just a consideration, depending on how difficult the compilation from C is.
edit: from the current state of wasm, you would need one wasm VM instance per sqlite connection.