I'm not sure if there's a JS shim or not, but rust has been a supported language for a long time with that workflow: https://developers.cloudflare.com/workers/tutorials/hello-wo...
As far as I know, CFW heavily leans on V8 isolates for scaling.
Why reinvent the wheel?