If they bite or scratch you, I would think yes.... However there natural instinct is to run, not attack. If you are dealing with a wild squirrel, I would beware rabies.... And if you want one as a pet.... I don't know if that's such a great idea.
no they just bite if your show any harm towards them or if there scared them show self defense but don't worry you wont be attacked by an angry mod of squirrels in the streets and squirrels aren't prone to get rabies