Without going into the Web/WebAssembly debate,
KAPLAY is just too good as a library to pass up. It's intuitive, easy and comes with a lot built-in. It makes making games actually fun with it's ECS-like API.
If KAPLAY existed as a WASM runtime or in another language, I would use it.
Use the technology you know and move quickly in. For a game like this, personal preference is way more important than optimal language/technology choice.
No, the game framework would have to be designed for that, or someone would have to put in a lot of work to get something like an emscripten pipeline working.