Deno does exactly that.
But in practice, to do useful things server-side you generally need quite a few permissions.