I've built a several of flicker-free dimmable LED lamps, on account of barakta's photosensitive migraine issues. (It's basically impossible to tell whether an off-the-shelf lamp will have problematic flicker, though most CFLs will have some ripple, and you can be reasonably sure the cheap nasty LED lamps will strobe at twice the supply frequency, and anything doing PWM dimming will be in the <1000Hz visible range.)
In doing so, I've designed them to under-drive the LEDs which makes them run cooler and greatly prolongs their lifespan. I've also used quality components in the drivers, and of course since I've got the designs and used screw-based construction techniques, it's all eminently servicable. Also, because feeping creaturism, they turn off[1] when there's nobody in the room, which saves a decent chunk of power. But I'm under no illusions that handbuilt one-off construction of electronics is in any way resource efficient. I've used way more Stuff than a simple light bulb, the per-item energy costs will be non-trivial[2], and the supply chain is hardly efficient.
On the gripping hand, since the alternative would be tungsten[3], it's probably a long-term win.
[1] For "quiescent power of about 2 watts" values of 'off' - the power supply and microcontroller are still active so they can turn back on again[4].
[2] Just look at the energy consumed by hand-building (sodlering, power tools, and - because I'm getting old - lighting throughout the process), even before considering that used while writing firmware and arsing about in CAD that isn't offset by mass production.
[3] Barakta can see the 100Hz ripple on halogen lighting, so even that isn't a panacea.
[4] Automatic lighting being an accessibility win for the hand-impaired.