No, on the OBD1, or OBD2, that's not what they do
They basically just have a circuit tester on each sensor that tells if its hooked up, and then will have a "range" for that sensor, if its out of range then it will set a code or if its disconnected/broken it will set a code
Computer has no idea if engine is running poorly or running well
Fuel pump could die, no code
Head gasket blows, no code
Timing is off, no code
Lifter ticks, no code
Rod knocks, no code
Pattern is, if there is "No Code" then its a mechanical issue
But that being said, No Code may mean a computer issue, lol, brain damaged computers often won't set any codes
So just as a test unplug TPS and start engine, should get CEL and a TPS code right away, a sanity test