Yes, they can fail open-circuit.
....and the light would still work, meaning, the bad capacitor affects the fan only?
True, but if it was the fan motor wouldn't there have been some symptoms like noise first?Yes, the light would still work. There could be other problems with the fan motor too though.