First welcome to the community
No the automation needs a state from ON to OFF and from OFF to ON. You can create a template binary sensor that will toggle when you press the button or you can create a by-pass and then use my other blueprint Press Button - Turn ON & OFF Entities to toggle the by-pass ON and OFF with your zigbee button. Use option1 for the by-pass.
Blacky