Controlling LED Bulb Dimmer via Microcontroller
The drive circuitry in dimmable CFL/LED bulbs detects the "truncated" sine waveform in the supply line generated by classic DIAC-TRIAC dimmers and converts it to the appropriate mechanism for dimming the given light generation technology. So yes, generation of this modified sine waveform by a MCU in the supply will also cause these bulbs to dim.