Yes. I've seen people attempt to argue that the existence of racism/sexism is proof of the inadequacy of the discriminated group, because otherwise it isn't rational and humans are rational. Which is either a concerning level of trust in economic theory or a disturbing use of economic theory to justify existing bigotry.