Yes, you can. How to achieve that depends on the platform on which you want to use your GO/Wasm library.
• On the JVM platform you could use
Chicory,
Chasm or
GraalWasm.
• On all other platforms (except JS/Wasm) you could use Chasm.
• On JS/Wasm you can integrate Wasm via JS interop.