I did an experiment a while ago with streaming chrome to twitch from a gpu-enabled ec2 node and it worked quite well. Was able to stream a webgl experience at 60hz.
here's some personal notes from this. i didn't work on containerization, just raw VM setup. had to get x11 up and running and then set ffmpeg up for hardware streaming.
https://gist.github.com/gfodor/3c88700ee81a10e01c783019b8a64...