Yes, Jupyter could work. I just fear there is things that except browser’s JavaScript APIs. Some I think aren’t even available for web workers. V8 workers are a different thing (I believe) and not at all familiar to me. But, it should be easy enough to test…
- https://jupyterlite.readthedocs.io/en/stable/ - https://docs.marimo.io/guides/wasm.html
Running just the kernel in a Cloudflare Worker is an interesting idea ...