Yes & No, you may find that the Pitch is larger between the pads on a 4 pole Footswitch so there may be some serious filing & bending & it may not be viable!
Check the Datasheets!
BUT
You may have a problem as the components you used might stick out the bottom & the Footswitch is Deeper so that is the only way in your current 125B Enclosure!