Zero crossing detection on voltage edge

Good afternoon all

I’m wondering is ESPHome is capable of driving a Triac dimmer when provided with a zero crossing signal in the format of a 3.3v edge (both high to low and low to high)

Is it possible that the circuit below could be used with the Triac/Mains/AC dimming component of ESPhome?

All testing is currently being done with an isolation transformer, with the final design intended to be fully enclosed in a ABS enclosure in a ceiling Light fixture