About 20 years ago I lived on a 58 acre horse-boarding ranch. There were ground squirrels everywhere. One day the ranch hands decided it was squirrel shooting day and dozens were killed with .22 rifles. But a piece of one of the bullets ricocheted and embedded into a horse, hundreds of yards away. So even if you are acres away from your neighbors you could still end up putting lead into someone or something you don’t want to. Stick with the pellet or bb guns, they’ll do the same job and you won’t get sued by your neighbors.
.22 CB rounds don’t have enough power to rocochet off. No gunpowder is used; just the cap.