Only if the common for the input card also comes from the alternate source. That means the input card would have to be dedicated and cannot be used for any local inputs and made impossible to connect a local input in the future. For example, Machine A has an 8 out card wired to an 8 in card in machine B and the B common returns to A and all terminals are wired so that nothing may be connected in the future.
Otherwise use interposing relays.
Also, according to code the wires must be ORANGE (NFPA 79 13.2.4.1.) because they could still potentially be energized even when the local disconnect is off.
Regarding messaging, can't you have the PLC/5 MSG Write some of the data and also have the SLC5/04 MSG Read the rest if you have limitations?