Yes, but more importantly, histamines do more than just allergic reactions, so while it’s the most common use, taking an antihistamine isn’t always about calming an allergy.
Think of how aspirin is used to reduce pain and inflammation, but also to lower fevers. Those don’t sound like the same thing on the surface, but the way it interacts with your body has an effect on it all.
It doesn’t hurt to try it. If it helps, awesome. If it doesn’t, then you and your doctor have enough info to move onto the next possible treatment option.