I've done worse.

It should work but the jacks are board-mounted which can be a pain. If I were to do this, I would go from under the board. Cut the traces for the footswitch jack and run shielded cable from the front input jack connections to the footswitch jack. If the front input jack is a shorting type (shorts the input to ground with nothing plugged in), you'll need to pull that from the circuit.