You'd probably need a solid glass tube with highly polished ends, and then set it so that it's long enough to put the LED away from the heat/so the LED could use the external casing of the cooker as a heatsink (it's got to cope with both the ambiant heat and it's own).
I'd imagine it's doable, but you're probably looking at something that is far more prone to breakage and general damage whilst costing more and being harder to repair than the current heat resistant bulb behind a glass panel, especially as most cookers don't really have that much cool dead space.