Could you rewire the probe points to a clicky switch mounted on the hotend?

I was wondering if you could take something like a clicky switch to put on the tool heads and wire it in so when the clicky switch is depressed, the printer thinks it’s corresponding probe point was triggered. Then you could just set the glass thickness to 0 and you wouldn’t have to do any firmware hacking