It’s a possibility, but not the same as working locally. I run into issues such as global shortcuts not performing within the screen share, but instead on my local machine. Copy/paste gets frustrating. And I prefer to have local files and be able to edit without screen sharing so I can work locally in cases where I can’t screen share for whatever reason.
It’s definitely not out of the question, but I just don’t like it.