You can't run your code locally, but VSCode (but NOT VSCodium sadly) has a set of remote development plugins (ssh, containers, etc) that allow you to edit locally, run on a remote server.
Also see code-server (https://github.com/coder/code-server) for another option.