Yes, any emotion that is not coherent with reality is irrational.
For example, a fear of heights is rational, because falling from a height is dangerous. It becomes irrational when the fear is not reasonable or the heuristic is being wrongly applied. Being afraid as I dangle from a ledge is rational, but being afraid as I look out of a skyscraper window is not. There is no reasonable danger as I look out the window; my heuristic is being over-applied. Likewise, being afraid of heights as I stand on a stepladder is irrational, because I am able-bodied and the harm I risk by falling from two feet up is minimal.
Likewise, being hurt at a betrayal is rational. If I have a vivid dream that my partner has cheated on me and I wake up hurt and upset, that's reasonable, because I have just had a painful experience. But continuing to be upset after I have fully woken up and become aware that it was a dream is not rational, because it is not based on reality.
Ideally, the emotion you are feeling and its relative strength is correlated directly with the most reasonable response to the stimulus. It's rational to have a tiny twinge of nervousness as you get onto a plane, because there is a small risk of danger. But you should be able to recognize that fear as irrational when you consider the statistics of air travel safety and recognize that the plane you're on seems in good condition. The rational response changes based upon information, so the most rational emotion changes likewise. This won't always be instant or complete, because emotions have inertia to them and humans get into patterns of behaviour and thought that persist even when those patterns are unhelpful, but that's when we have to recognize that the emotion is not rational (and why emotions are often termed irrational in general).
Emotions are often called irrational, because they don't strictly adhere to reality or are not based on facts alone, but that's a generalization and usually shorthand for the idea that emotions are not logic and do not always work logically. That doesn't mean that emotions can't be rational or irrational; they are responses to stimuli, and are based on biology, instinct, and learned responses (or personal history). The purpose of emotions (so far as they have a functional biological purpose) is to be a heuristic for decision-making, but like all heuristics, they can be faulty or based on false assumptions.
Imagine that you're standing in front of a very large dog that is growling, barking, and baring its teeth at you. It then begins to charge at you, and you feel fear. There is a threat to your safety and the fear is indicating that to you, as well as providing possible responses to that threat (running away, covering vulnerable parts of your body, counter-attacking, etc.). The benefit of these impulses coming from the emotion of fear is that they don't require you to pause and analyze the situation—that would take valuable time. Instead, you make a snap judgement and respond based on instinct and learned reactions. These responses might not be the ideal ones or even good ones, but they are reactions, and evolutionarily speaking, they often are ones that overall will prioritize your survival. If you were to sit down and explain it to an alien, they'd be able to understand:
- I am averse to pain and injury.
- I see a threat to my safety.
- I desire to avoid the threat, to avoid the pain and injury it would cause.
So in a way, we can say that fear is just the advance reaction to the prediction of pain, and experiencing pain from an injury is rational. This implies, of course, that the pain is real: if not, then the fear isn't rational, right? Predicting pain from a dog attack is reasonable; predicting pain from a dog happily snoozing in the corner is not. At that point, the fear of the dog is irrational.
It's also important to mention that irrational does not mean "not valid", "not important", or "should not exist". If someone is irrationally afraid of spiders, I'm not going to wave hi-res close-ups of spiders at them, even if we both know that it's just a picture and can do nothing worse than give a papercut. Even positive emotions, like being in love with someone, can be irrational, but I don't think anyone would say "you should stop being so in love with your spouse. This should be a more transactional relationship." Sometimes we revel in irrational emotions: rollercoasters, sad movies, sappy songs. Those are great, and should be enjoyed! We should enjoy them no less for them being fiction, but we need to be aware they're fiction. In the same way, we should enjoy the reactions and emotions they provoke, even if we know they're irrational.