Years ago one of my friends had a cockatiel who masturbated on his wooden perch every time I came over. He would huff and puff, and rub his nether regions so frequently that he developed a little bald spot down there. I don't even like birds that much; I didn't encourage him!