I do this, for very specific reasons. The majority of devices I have on HA work with HA device bridge and do not require an HE to HA integration. However, some do not work completely, and so I share Hubitat virtual switches to HA, and then use HA automation to trigger the Hubitat virtual switch when HA device triggers.
[NOTE]
You can also do this with HA Toggle Helpers and HADB. Sometimes that's easier, depending on what you're trying to accomplish.
It works almost the same with the automation you create on HA, but Helpers are not devices, so in the Action on HA, you have to select Helpers > Input boolean
Then you have to select Input boolean: Turn off or Input boolean: Turn on, and because it's not a device, you instead select the HA entity.