That really depends on the signal’s coding pattern. Most RF power sockets use well-documented signal coding. I have no idea about ceiling fans — someone really has to open up the remote to check the chip inside. It’s possible that they use a completely different set of protocols. I don’t have enough knowledge to tell.