Control LED zigbee door sensor aqara

Hey all,
I’m looking to make a diy zigbee switch in a really small form factor.
To prevent reinventing the wheel and since i’m not that good in making PCB’s i though of using an aqara door sensor, since this has small PCB.
I know this sensor is “diy hackable” in the sense of changing the sensor and using this a ON/OFF input in homeassistant.

Is it also possible to do this the other way around?

So what i want to do is control on output towards the sensor to be ON/OFF via home assistant. For example this can be the onboard LED which can then be connected to something else like a switch.

I know there are zigbee relay switches and stuff like that but these are powered by mains voltage so not ideal for DIY, in which the battery powered sensor would be great.

Thanks!