Are you familiar enough with mechanical enineering and electronics to do everything yourself? Including the motor driver, control with limit switches and failsafes so nobody loses a limb?
If not, you should probably buy a garage door includimg the mechanics and motor including electronics. There are garage door openers that allow for an external switch inside of the garage to open and close it. You can attach a Sonoff or an ESP to that input and have it control the garage door.
- https://esphome.io/components/matrix_keypad
- https://www.berrybase.de/sonoff-dual-r3-dual-relay-smart-switch-2-kanal-schaltaktor-wifi
Just to give a few ideas... But the motor driver needs to have the correct inputs. Some seem to have an "encrypted" connection and not just a switch. And it also depends on the model if the inputs need 230V or maybe 24V and a relais to close the circuit instead of that Sonoff.
I'd use esphome.io and an ESP32 board for something like that.