Dialectric oil is used to isolate different parts and also to transfer heat from parts that can’t touch metal or touch each-others (short). In a flashlight, it’s the metal that is used to transfer heat, oil won’t help.