I have many different 3AAA battery carriers and some are designed for headlamps others for flashlights. Flashlights that have a tail switch the carries has contacts on both ends, lights with side switches typically have both contacts on the top end so an 18650 won't work at all.
Most 3AAA lights won't fit an 18650 due to the length and unless the light has some sort of circuitry to regulate/reduce the voltage an 18650 as also 3AAA nimh can fry the LED(s) in the light.