That would work fine as long as it`s the "down" contacts and not the "up" I have had a number of those foot switches fail over the years, a few years ago I installed a wireless remote purchased of ebay and gave up foot switches (although our windlass can still be operated from both helms it`s hard to see with the tender on the bow) but the cheapie ebay remote control has worked so well over the last few years many of my mates have also installed them
https://www.ebay.com.au/itm/12V-Elec...EAAOSws2RcNXSH