Yes that's very true especially when they get very excited and forget that you are not a cat.Cats can bite or scratch sometimes because they're playful or showing affection too. We have five indoor cats and sometimes I feel like a scratching post or a play toy.
For the record though my cat is very loving and affectionate for real,.. unless she's trying to attack my legs of course.