Yes. Limitations on actions are perfectly acceptable in most cases.
Much like killing someone with a firearm is illegal. (Ignoring self defense). The action can be illegal without infringing on the right itself.
Yelling fire in a theater: legal if there’s a fire, illegal if there isn’t.
Killing another person: legal if it’s self defense, illegal if it’s not.
Banning a firearm is not a law based on an action, it’s an attempt to preempt an action with a right that specifically says it’s not to be regulated.
Saying well we do infringe on it because… common sense, is not actual legal grounds to circumvent the simple wording that they can’t infringe on it.
If they don’t like it…amend it. But ignoring it is technically illegal.