Yea, it's pretty nice for non-demanding 2D games, or even 3D I guess. PICO-8's website for example lets you play carts uploaded directly on the browser.
I also tried with a simple C pixel framework I made which uses my scripting language and it's pretty cool that it runs all in browser (far from perfect, though):
https://revengerwizard.github.io/micro-wasm/