Yep. Emacs had this 25 years ago. I find editing over SSH a last resort, though, as it introduces a lot of undesirable latency.
I suggest you give Zed a try then or even VS Code remote, just to compare. They're much better engineered than Emacs tramp.