Well, that's just silly. Hook up a Raspberry Pi as your keyboard, mouse input and video output and all the anti-cheat fails. Same (largely) for VMs, same for many emulators.
And if nothing works you can always build a robot pushing mouse, buttons, etc.
Of course you can raise the bar, but if anything has been shown it's that cheating is not something that anyone has been able to prevent yet.
In many situations you can also interfere on the packet level. Of course maybe you need to extract some key, but in many situations that's not exactly hard. And then you can hook something into network.
They already do this. Including peripherals which appear as an actual mouse, but they are there only so that cheat software can take control of the input without modifying the game memory. There are cheats which run on a separate machine and access the game memory via a dedicated DMA card (which itself presents itself as an innocent piece of hardware). Note, this can still be detected either via detecting the DMA card itself, or eventually these shenanigans will be killed off by IOMMU.
Unfortunately, there are also plenty of offerings which do not touch the game memory or process at all, and work purely based on image recognition and these days they actually use AI that is trained on specific games. I have no idea how they plan to detect these. All the cheat needs is the video feed and the ability to provide input via mouse and keyboard, and as you say this is trivial to do in a way that is entirely undetectable.
The cheating isn’t just about input speed or accuracy though. It’s about seeing around corners or having knowledge about other things in the game that you can’t see on the screen.