But they can melt!
Most LEDs are made of the actual diode and then a plastic surround. LED bulbs put out less heat than a regular bulb (that is glass and a filament) but as far as it getting hot from another source they will be worse. Unless you find some LED bulbs that have a glass surround they will melt.