For the naysayers; I used to do this as a kid, because there were 6 people (minimum) to say goodnight to, and I was told it was impolite to miss "anyone." And I'm someone, too.
I'm in my late 30s and every once in a while I'll say goodnight to whoever is in my room (even if it's just my cat) and then goodnight to me.