This is incredibly common. I hate running interviews - we do the leetcode whiteboard pressure cooker crap - it's a policy I have no say in unfortunately. I've had candidates with strong backgrounds go to pieces right in front of me - it's awful to watch and I hate that I had anything to do with making someone experience that.
More people than you might imagine take Xanax to get through interviews.