41 here and I think I have a problem that I've been somehow managing for my entire life.

I daydream like crazy. Every single day, multiple hours a day. The daydreams are such that I have many characters in them and varied situations, often real world people I know, and if no one is looking or around, I'll talk to myself and to them (like imaginary friends). I can have long (30 min to over an hour) sustained completely bullshit conversations like this. It can be in my office at work with the door closed, in front of the mirror in the bathroom, in the kitchen while I'm cooking and no one is around, the car when I'm driving alone, in the gym when I'm working out. 

I have never been caught doing this and I have never told anyone. I do know the root of this - childhood abuse. Being beat by my father and retreating to my room at a young age, having no friends at the time and no outlet, I made my own entire world in which I was admired and loved.

The reason I think it's a problem now is that I've realized I spend a lot of time on this instead of doing other important things and this skews my perception of reality and helps me avoid my problems (relationships, work, parenting, etc.).

Is this a sign of something that I should see a doctor about? I'm thinking about it...