Can I install a compact fluorescent light bulb in a fixture that is controlled from a dimmer switch?

Yes, but only if the light bulb is rated as "Dimmable".  It will say on the package when you purchase the bulb.  If it is not rated as dimmable you must replace the dimmer with a standard switch.