Switchbot + contact sensor as garage door in homekit possible?

Hey everyone. I’m looking into options to make my myq (dumb company is dumb) garage door back into a homekit door. I know there are options out there like ratgo and merros etc but I happen to have a switchbot already. What im wondering is can I some how combine the bot for on/off functionality with a contact sensor and have it appear in homekit as a garage door? All I need is open close status and toggle so it works in carplay etc. Thanks for any insights.