It is a requirement in the MoT test for the check engine light to illuminate on ignition on, which is why every car out there will do that when the engine is not started. Once the engine is started it should extinguish after a few seconds. If the light doesn't illuminate at all, MoT failed.
There are definitely cheater devices out there that emulate this, but given something like 30% of people don't know how to find their oil dip stick, I am not too worried about these devices being commonplace. Simply by it being a complicated solution to work around the check engine light and emissions management (like reflashing ECU firmware) excludes the majority of dodgy cars.
It seems most cars near the end of their life fail on either a suspension, bodywork or exhaust component. The engine, gearbox and the rest of the car is fine, perhaps not running perfectly, but sufficient to move the car around. I remember some time ago I went to test drive a car that had a faked MOT (the garage/tester must had been paid off or the VIN was fake, something like that). The car drove fine but you could hear the rear shock absorbers were completely gone. And the door sill had rust at the seatbelt anchor point - instant MOT fail and likely writes the car off. I guess despite my general naivety at the time even that car was an obvious heap of crap.