Hello there,
Yes it is possible
Visual Studio Code Remote Development allows you to use a container, remote machine, or the Windows Subsystem for Linux (WSL) as a full-featured development environment. You can:
Develop on the same operating system you deploy to or use larger or more specialized hardware.
Separate your development environment to avoid impacting your local machine configuration.
Make it easy for new contributors to get started and keep everyone on a consistent environment.
https://code.visualstudio.com/docs/remote/remote-overview
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer--