The problem with that is that Jupyter requires a back-end to do any of the actual processing that runs the code in the cells.
Only way I can think to make the html file truly portable while fully functional would be to embed a python interpreter and all required libraries as wasm.
Could be possible with pyodide? I haven't used it.