Is this circuit acceptable?
Power to a double switch. 3-wire cable from the switch to a ceiling fan and a separate light fixture.
The black of the 3-wire is connected to the top switch and supplies the fan. The red is connected to the bottom switch and at the fan box is connected to a 2-wire that goes from the fan to the light.