There are a few mental disorders like that, but it's important to bear in mind that most of them (major depression, mid to low functioning autism, anxiety, schizophrenia, and so on) lead to objectively reduced functioning independent of society and a lot of suffering in whoever has them. It's not something to be romanticized.