Makes a lot of sense to not waste heavy copper carrying one bit on information
As others have said, there are already wireless switches, some using battery-free ultrawideband.
But even if you prefer wires, it makes no sense to have the actual load-carrying wires routed to the switch - have a separate two-wire switch/control network.
Or have it all run on single-pair ethernet - which can carry enough power for lighting too, with PoE/PoDL.