Hello,
that would only work if you switch maschine into midi mode and make a controller template where a pad sends out a midi cc as toggle switch. In maschine mode the pads can only send midi notes. Or you would have to use a midi translator in between like bomes midi translator. Unfortunately maschine can't output midi from loaded instruments or fx so you could use a note to cc converter within maschine. At least as far as I know.