I spent most of my teenage years in my room and unlike the outdoors and face-to-face interaction with 'real people' it didn't do me any harm.
Except unless I was making things, playing with the cat or sleeping, it wasn't really in my room. It was exploring other times and other worlds. Learning how things worked. Discovering music. Making friends with other LGBT people from the safety of a another continent. That sort of thing. Books and radio and FidoNet rather than books and Youtube and Minecraft, but I don't think the technology makes that much difference.