Yes, although some people also take the GE switches and put that inside the fan control canopy if they don’t have a neutral at the switchbox.
You might also take a look at the fan FAQ (this is a clickable link) and see if that gives you any ideas.