Not on the spot as it uses plastic pellets aka BBs so it might injure it or give it a painful death which would be very inhumane. Though you can drove them away by shooting at the things around them.