and yes, hdmi/displayport capture -> ML object detection -> fake HID mouse to cheat is absolutely already a thing.
But also, the second computer can drive a virtual mouse and keyboard which is connected to the 'legit' PC to even aim/move/shoot for you.