I keep thinking that maybe high end flashlights could be the same way, I can definitely think of a few features that don't show up in your typical light, and that it might be cool to try to make a few boutique lights to sell, but my business knowledge isn't quite up to that, and I don't exactly have much desire to do a whole lot of independent work, I much prefer having an employer.
Maybe it could start as a gut replacement for an existing cheap flashlight and grow from there.
There's also custom colors, flash patterns, etc
I've only been caving twice. Dimmer lights are great - but they don't need to be on a single switch. Quite the opposite, putting them on a single switch means that one _has_ to cycle through the bright option when that is not wanted.
Also, with the right micro, a second button (with relevant environmental protection) may well be more expensive than putting that micro and voltage regulator under a big blob of black epoxy.
Buttons take up space, and cost more than electronics(Not counting craptastic ones that will break in a hurry), plus you'd still need all the other driver electronics like the switching converter and the lithium protection chip.
The microcontroller is probably the most reliable thing on a flashlight, simple doesn't always mean cheap and reliable.
They have premade modules, but I'd have to do my own, since most of the point of making yet another type of light would be Bluetooth so you never lose it, can customize the modes, and it can also serve as a a motion sensor that pings your phone if someone is messing with your stuff
Unless maybe there's a demand for simpler lights somewhere? I tend to forget that non-LED light sources are actually a thing, but that it's pretty cool to make one from scratch at the level of hand silvered reflectors!
I'd probably be putting LED and battery temperature sensing in anything I made, so I wouldn't be too worried about safety, but it would be a mechanical challenge that would likely take some iteration to get right on the mechanical side.
And there are a bunch of dactyl manuform case generators. (Which the online pcb fabs are now also offering to print in your favorite material)