Control USB powered light with PWM, would it work?
If it uses a USB cable, that should be 5 VDC, so yes, but there's a caveat. 

There might be some active circuitry in the lamp already, controlling the LED. If that is the case, adding PWM to the input power may or may not give you the result that you want.