Not by current (post 2008, and disagreed on much before that) supreme court interpretation, where the whole part about the free state and militia are a goal statement. Even if you take the militia thing to mean what you think it means, all free (i.e. non-slave/imprisoned) men between the ages of 17/18 and thirty-something would be part of the unorganized militia and required or encouraged to own a gun and other military equipment (like a rucksack, powder, ball, etc.), ready to form up in the case of unrest, invasion, tyranny, etc. I think it was actually 17-36, but don't quote me on that. It would be annoying for SCOTUS to deal with due to problems with women and the draft (congress, are you going to sort that out?), but in theory it could be workable.