I had an idea some time ago of implementing the relevant Amiga ROM libraries (intuition, graphics etc.) so that the calls could be transferred to browser DOM. The CPU would be a normal m68k emulation. Original application could be started and the windows they open would actually be DOM elements.
My first stage of this implementation was to transfer the libraries as emulations for Win32 Windows. In this implementation intuition-windows are Windows windows. :) To be clear, the idea is to emulate the API, not the HW. I guess it's like WINE but for Amiga.
I have some early POC prototypes of this using emscripten. So in principle it can be run in a browser. Maybe some day...
It's kind of a crazy idea but kinda cool I think. :)