A few times I have with my brother and sister.
In sitting kokyoho, for example, my sister one day wasn't really trying, so when she flipped me over, I threw her over me. She hasn't done that again.
A few times when my brother was doing some foot work wrong I pointed it out to him, but he kept doing it. So, next time, I spun away leaving him off balance. He got it the next time.
I wouldn't do it with someone I didn't know very well, though, especially a new student.