There's historical precedence for this. Here's an excerpt from
http://www.law.harvard.edu/students/orgs/jlpp/Vol30_No2_KatesMauseronline.pdf...in America during the period
of colonial and post‐colonial settlement. Indeed, the basic
English militia laws were superceded by the colonies’ even
more specific and demanding legal requirements of universal
gun ownership. Under those laws, virtually all colonists and
every household were required to own guns. Depending on
the colony’s laws, male youths were deemed of military age at
16, 17, or 18, and every military age man, except for the insane,
infirm, and criminals, had to possess arms. They were
subject to being called for inspection, militia drill, or service,
all of which legally required them to bring and present their
guns. To arm those too poor to afford guns, the laws required
that guns be purchased for them and that they make installment
payments to pay back the cost.104
It bears emphasis that these gun ownership requirements
were not limited to those subject to militia service. Women,
seamen, clergy, and some public officials were automatically
exempt from militia call up, as were men over the upper mili‐
tary age, which varied from 45 to 60, depending on the colony.
But every household was required to have a gun, even if
all its occupants were otherwise exempt from militia service,
to deter criminals and other attackers. Likewise, all respectable
men were theoretically required to carry arms when out
and abroad.