Should be no problem.
If you're careful and wire it up right, it should even be possible to put them in parallel and use both. I've seen someone do this as a "it should never get to this level, so I definitely want it to stop" backup switch.
You shouldn't really need to do that, but he found doing this was "easier" than to fix the hardware issue that caused the opto to occasionally not trigger (read: bumped the opto mechanism so the flag didn't trigger the opto).