if it's a secure system probably not... otherwise anyone could listen to the signal and then be able to enter into your garage... it's likely a rolling code.
I hacked a remote control for the garage door and garden's gate of a friend.
The remote is a radio from Cardin (S449-QZ2 operating at 433MHz with rolling code)
I removed the plastic around it and the inside is pretty simple
I removed one of the button and added an optocoupler driven by my ESP32 which basically connects both pins of the former button.
basically the circuit is like this
I've done that for all buttons
I've used the HomeSpan library so that the ESP would fit right into his HomeKit network as different devices and now he can use his iPhone and ask Siri "open the garden's gate" or "open the garage's door" and that will drive the the associated optocoupler and trigger the remote. The remote or the code is not really aware of the status of the door as there was no information available on the status so the command really just 'presses' on the remote and that will alternate between open or close.



