I've done it once, don't know how the hell I did it, but it turned out to be the most bizarre coincidence and in the context of my message it could have turned out to be a very big surprise for someone.
I was texting my brother to say "Congratulations Daddy" as he and his wife were going through the adoption process and they'd just heard they'd been matched up with two children.
Anyway...I get a text back saying "Thank you. I'm sorry, but I don't know who the hell you are. How did you know?" So I sent one back saying Oops sorry - wrong number, I was trying to text my brother. He sends one back saying, it's ok - just found out my girlfriend was pregnant this morning and we've told no-one yet so I was a bit surprised to get your message.

lol I explained why I was congratulating my brother and we texted each other several times for the rest of that day, with me reassuring him about parenthood and wishing them good luck and him passing on his congratulations and best wishes onto my brother.
It was lovely, but very, very odd. Can you imagine the trauma "Congratulations Daddy" could have caused to anyone else but a man who had just found out his partner was expecting.