Yeah, that works.

But you'd still need to rig a trigger for it, in which case you might as well rig up an ignition sense line instead.

Cheers