It already exists for Sixel: https://github.com/saitoha/xserver-sixel
...but at that point X forwarding or VNC seems more useful.