Should work. Would increase the homing accuracy by the ratio of the perimeter of the cam 'sweep' to the ballscrew pitch length. But wouldn't like to have the microswitches continually opening and closing during normal jogging and machining. Swap to contact-less prox sensors (still cheap) reading off the 'cam' instead.

Could put it on the back of the stepper?