(EDGE Driver-Mc): Zigbee Drivers for Motion, Open/Close, Moisture, Smoke-Co Sensors and others Devices

Yes, you can do it with Virtual Switch and simple automation
In order to create a virtual Switch please use Vdevice Creator by @ygerlovin