Ceiling fan switch

I just purchased a new home. My family room has a ceiling fan,which is always hot(controlled by the chain on the fan). There is wall light switch controlling the power to 2 other outlets (light switch on, outlets are hot; light switch off, outlets off). I want to control the fan from the wall switch and have the two outlets always hot. Is this possible?