I just double-checked the statutes for my city. They are not banned, but there is an ordinance regarding "missiles" - includes snowballs, BBs, arrows, etc... It addresses damaging property or endangering folks, but there is no ban on pellet/BB guns.
My neighbor’s have a really fast, high strung rat terrier. The squirrels stay very close to the trees. lol