I’m fairly sure that the Universal TUYA Zigbee app is, at least in part, based on Z2M code (however, that app is being vibe-coded and I don’t get the impression that it’s exactly stable).
But Z2M itself offers more than just improved device support. It also supports basic Zigbee features that Homey doesn’t, like grouping, binding, and OTA updates. Those can’t be implemented in a Homey app.