This sounds similar to how Cloudflare Workers work - using the V8 isolate technology built for Chrome to provide secure isolation of backend processes without the overhead of VMs or even containers.
https://workers.cloudflare.com/
Plus we have a distributed KV store to go with the code execution environment.