I figured that might be the case.
But with that said, I would recommend that with that being a feature you still get some kind of feedback.
So say if I'm running, and I try to shoot, the gun makes a clicking sound and the crosshair gets replaced with
a prompt to let you know you can't shoot. Without that, it feels unintentional.