Foot Pedal?

Anyone know if there’s a way to use a foot pedal and/or midi controller to control any 5 moon functions? Would make recording guitar much easier. It’s hard to hit the record button and then quickly play something with two hands.