I have never heard of such a system. But it could be done. It would require something like a completely independent CNC controller to monitor the tool position using completely separate encoders. Then some way to connect to the machine CNC controller to read where the machine thinks it's at any given time. Then it would be just a matter of comparing the two values.
What kind of machines are we talking about here? What controller?