I'm not sure if this is what you're looking for, but I used this to replace my pull string lights with normal light fixtures.
You would wire the receiver to the light itself, and then mount the switch on the wall. It's wireless. You can get one that works as a smart switch with voice command, or you can get one that just works as a switch. It's $20.