The details matter a lot with these kinds of rules. You should definitely be able to do it, although exactly how you will do it depends on exactly what you were trying to do.
“Is opened”? Or “Is open”?
Those are two very different conditions, because with the first one there is an event which can trigger logic, where with the second one the system has to go look and see if the door is open.
Also, what do you mean by “set an alert“? Do you mean do something with the official smart home monitor feature? Or do you just mean receive a text or receive a push notification?
Sorry to be so picky, but the method will be different depending on the answers to these questions.