For a variable speed fan control, you need three separate windings. I just don’t think there’s room in a micro, smart or not.
Here are the current fan options. (The thread title says “Alexa,” but it’s the same solutions whether you are using a voice assistant or not)
FAQ: 2019 Ceiling Fan and Dimmer light wall mount control compatible with SmartThings and Alexa?