You can even use the vscode-server thing made by gitpods that allows you to use vscode in a normal browser; but the environment feels weird because those localhost ports you're used to opening are not open of course.
It's not for everyone, but you are paying for your development environment either way (upfront by buying powerful notebook, or as-you-go by renting cloud instance). Seems fine as long as it is conscious choice.