Dim Shelly Dimmer 2 using Homekit Node

Your device needs configuring for MQTT first.
All the information how to do this is included in the Shelly MQTT Welcome to Shelly Technical Documentation | Shelly Technical Documentation

Yes