Can a ceiling fan and a light kit be controlled from the same wall switch?

Follow
to j