No, Wyze Lamp Socket should not be used on a dimmer switch.
Wyze Lamp Socket v2 and v1 require consistent power, to provide power to the light bulb and Wyze Cam. If the lamp socket is installed on a dimmer switch that's toggled, all connected devices will lose power.
To use a dimmable bulb, grab a Wyze Bulb White from the Wyze Shop. Control the brightness of that bulb using the Wyze app.