I think it's more likely to be the opposite: we're creating more mental issues by being more isolated from everyone outside our immediate family. "Stranger danger," watching screens or talking on the internet instead of hanging out in person with other kids/teens, etc. Generations that don't know how to meet people or talk to people outside of pre-arranged circumstance/activities or explicitly-circumscribed situations like "if you connect on Tinder, it's for dating or sex."