FWIW
I use hacked Lamp module and hacked Appliance module to control several ceiling fans. (I just "home made" XPDF and XPFM modules). You relinquish any ability to control fan speed however. (even with a "snubber" network, a Lamp module makes fan motor buzz too loud to be usable...beside the fan motor does not like it one bit). There is no reason why you could not use a keypad in the wall box IF it has a neutral wire.