Simple answer. Yes you can. But it will take a little bit of customization. If it was me I would put a contact sensor on the gate. Then I would use CoRE (communities own rule engine) to have a piston that works like this:
If “” is present
And
The gate is open
Then
(Pretty much whatever you want)
Ex. Using location…
Set smart home monitor to disarm
Using location…
Send Push notification ( or SMS if multiple people have access and you only want the message)