"Zigbee Home" DIY firmware project aim to provide similar functionality to ESPHome

Don’t want to hijack this thread, so I created on here: DIY Zigbee rotary wall dimmer

yes, you could bind it directly to a light (if you are fine with the commands being sent) or use and customize it with deconz, ZHA, or zigbee2mqtt.