Shelly dimmer dc power?

Can I power a shelly dimmer with 12v DC voltage, similarly to Shelly1? I would like to verify the dimmer works and play around with the settings before having it actually installed (by an electrician). How do you guys power it when flashing for example?

Shelly dimer and also the SL version works with mains voltage 200-240V (50Hz AC)
Shelly dimmer works with mains voltage 110-240V 50/60Hz AC) does not include Shelly dimmer SL

Flashing uses 3.3V using a USB to UART adapter connected to the programming/debug header
Technical specifications for both models available here