I just went through a few days of trying to connect Hubitat to the ESP32 C6 using the Arduino IDE. All attempts failed. Then I finally asked an AI program the question "Is it possible" and it said No.
The Hubitat Zigbee has been great with off the shelf products, I have about 18 Zigbee devices connected to my Hubitat.
I am not sure if it is Hubitats problem or a quirk with the ESP32 but Home Assistant connects to the ESP32 Zigbee so Hubitat should also connect?
I never tried Zigbee, but I did get Thread working on a -C6:
It's just a template really.. of a "Dimmer" because I got the new C8-Pro T hub. It works with a built-in Generic Matter Dimmer driver. I'm surprised it doesn't work with Zigbee. (Matter is on all my hubs, Thread on only one hub. Zigbee is on just one hub too.)
There is/was a fairly long discussion shortly after they first came out that had some success after a LOT of effort working through a bunch of gotchas and such.
I’ve gotten two different C6’s to communicate via Zigbee pretty reliably. However, I could never get Wi-Fi and Zigbee to be operational at the same time. Instead, I switch between the two using a custom driver (built with AI help) that sends a Zigbee command to switch the C6 into Wi-Fi mode to allow me to do OTA updates. The C6 generates an HTML interface for the OTA update, and that interface includes a button to switch back to Zigbee mode. A link to my Zigbee LIDAR C6 code has already been provided by another responder.