If it’s not an old-style dimmer system, then LEDs can be used in any light fixture as long as it’s not enclosed.