One Hour Photo is a 2002 psychological thriller starring the late Robin Williams. (In this role, Robin Williams is about as far as he could get from Mork from Ork.)
Robin Williams's character works with pride at an one hour photo developing shop but outside of his work, he has nothing and nobody. He has no social life to speak of and I don't like to us this word but he seems very sad.
He has developed an obsession with one of his customers, the Yorkin family. He loves their life. He loves the place that they live in and he creates a relationship with the wife and young son. He imagines himself as the young son's uncle and also that he lives with the family.
There are other issues implied in this movie but I would just like to say that this kind of behaviour that Robin Williams's character shows in this movie is not healthy for anyone. What it teaches me is that you need some kind of hobby or interest outside of your work. You need to keep yourself fit through some kind of exercise and even if you are an introvert you do need social interaction. You need to find some kind of group or team. I believe if you just sit at home and stare at the wall, you will drive yourself crazy.
Sure, know when you need to rest. Understand your body and get the alone time that you crave but realise that you can't use that as an excuse. You will need to get out and meet people and socialise because you will turn out to be too much inside your head and when you are thinking too much, that could cause all sorts of problems.