I used to do that a lot as a kid, not really talking alone tho, I was always imagining to be a teacher and I was explaining things to imaginary people as in front of a crowd. Then once my aunt caught me and it felt so embarassing... I've stopped since then.