Are we talking about residential or commercial?
Whenever you do a pass-through dimming (filament, LED, CFL, heating elements or whatever), you will have harmonics, because the current waveform (chopped up) will not be the same as the line waveform. However, to use this type of dimming, the front-end (bridge + fattie o electro cap) used in non-dimmable CFLs are simply not compatible so this is why LED lamps almost always have less THD in non-dimmed state.
Also, read up on the latest Energy Star specs for lamps. The Energy Star reqs are
≥ 0.6 for Omnidirectional LED bulbs with input power ≤ 10 watts. ≥ 0.7 for all other LED bulbs
It's not the law that they have to be Energy Star rated, but subsidies and incentives are generally not offered on lamps that are not EnergyStar, so manufacturers are deeply interested in offering those that meet the reqs. Much like doctor's office being concerned with what HMOs cover.