PWM drivers should be banned, the quality of lighting is horrendous and it murders LEDs. You have an rms currernt that is in spec but the peak is way too high.
anecdote: I work in a factory, we have thousands of light fixtures. The older constant current LED fixtures have lasted a decade, the new PWM driven lights have had a ~1% failure rate.
How do you know the difference? Constant current is almost certainly a PWM controlled buck/boost regulator. The flicker is attenuated by inductance, more or less depending on the design.