Python, not so much.
Well, in theory you could compile the entire Python runtime and download that to run scripts.
There's been recent chatter of someone who has compiled and is embedding the entire SQLite engine in WebAssembly so that his web page can read (read only) static SQL databases. It's pretty clever.
It's a 400K artifact, but it's still clever.