Stupid question, wouldn't it be possible to compile current Flash player into Javascript using Emscripten?
Please correct me if I am wrong, but I believe that you need the source code to compile a program using Emscripten? Even if some components of the Player are open-sourced [1], the Player itself is still closed source.

[1]: https://github.com/adobe/avmplus