If you just wanted to turn them on and off, the power supply for the leds itself (I suspect a wallwart) will mostly likely tolerate that, however, dimming them would likely not be tolerated.
Meanwell makes a couple of LED power supplies that can tolerate a leading edge dimmer like the typical kind used in your house. They are not outdoor rated and a bit spendy with shipping.
Alan