No, we do not advise this. The only thing that should be connected is an ON/OFF switch or a pushbutton, between the “SW” and “L” inputs. A dimmer connected to the “SW” input would not allow dimming as the Shelly products use relays or MOSFET transistors to respectively turn ON/OFF and dim.