It's cool. Do you sanitize the untrusted input? As far as I can see, it directly assembles with NASM and runs the binary.
[1]: https://github.com/shikaan/shikaan.github.io/blob/main/_incl...
I have been planning on trying to glue up something with v86[1] as I did in OSle[2] but I did not get to it yet.
In that case, everything would run locally and sandboxes, so you would not have to care.