Answer
Of course.
In addition to the state regulations about hunting and firearms possession, most communities have regulations about what weapons are allowed to be fired on property. Most do not allow anything larger than a BB gun. In addition, firing a weapon can be covered by regulations regarding noise and keeping the peace.