Comment by taviso
It's fun, but reminds me of a trick using Xvfb.
For example...
$ Xvfb :7 &
[1] 21688
$ xeyes -display :7 &
[2] 21697
$ xwd -display :7 -name xeyes -out /dev/stdout | convert xwd:- sixel:-
It looks like this: https://imgur.com/a/Eq2ToVOObviously no input though, you would have to use xdotool! The main benefit is that you probably already have all these tools installed :)
Looks like you're on Windows? You can run X apps with XMing, I used to do it years ago. You can run the actual X app and use it, not just get a screenshot.