Yes, i did this with two ecus
one has a pushbutton and a hole drilled in the ecu enclosure (hard to get to, need a screwdriver to hit the button)
the other has a momentary switch mounted to the back of the enclosure using very short wires.
both are completely stable.
i dont know that i would trust a LONG wire into the cabin. I'd probably make some sort of FET circuit for that.