nkd5025:
with a 220 ohm it still get too hot to touch very quickly.
It might be OK...but to be sure you should probably use a bigger transistor with a heatsink.
What constant current circuit are you using? Maybe the PWM signal could connect to that and drive it directly.