Of course.
However, different LED lights have different dimming methods.
For example, the single-chip microcomputer controls the brightness of the LED using PWM technology.
The LED display can display different colors,
The PWM technology is also used to dimming the three-color LED.
Some can be dimmed in two ways.
One is to adjust the capacitance of the resistance-capacitance current-limiting circuit;
The second is the method of controlling the current conduction angle with a thyristor.