You can use an UI application remotely via ssh via X11 forwarding.
But, at least over wi-fi, I've found it to be too slow to be useful.
there were some attempts (waypipe) to get a similar thing working on Wayland
there were some attempts (waypipe) to get a similar thing working on Wayland