IDE on slow linux machine but offload work to powerful server, possible?

I have one pc in bedroom that i used for everything and its on 24/7. Now i got a slow all in one pc with mx linux on it on my workbench.

Is there any option to have vscode platformio extension locally on linux machine to do coding and etc but make compilation take place on remote bedroom pc (on same lan)?

I was looking at vscode server but idk if that will allow my local usb devices to be seen

May be you’re looking for Remote Development