Sort of. In jr high sunday school, I received an invitation to someone's birthday party. The birthday girl was the nicest, sweetest person in church and her family was the nicest one in church overall. Unfortunately, I was not friends with her. I mean, we had been in the same sunday school classes since we were 5 and would make polite random comments to each other. But we weren't friends or anything. She'd never invited me to a party before. I suspect her mother incorrectly thought "Some people might feel left out if you don't invite every girl."
I felt completely out of place at her party, since she and all the other girls from church went to school together or ran in the same circles. I really had nothing of interest to contribute at the party, even though the girl and her mom made sure everyone felt welcome, fed, etc. I didn't sew, know anybody they were talking about and I wasn't a frilly girl girl. So yeah, it sucked being the random pity invite. I would've rather been not invited in the first place