The combat rules state, on page 189 PHB:
Initiative determines the order of turns during combat. When combat starts, every participant makes a Dexterity check to determine their place in the initiative order.
Can a character opt to not participate in combat? That is, they do not roll initiative, they just huddle down and remain passive? So I can rule that they don't control any space in combat, in order to free up that space for the creatures that are acting in combat. (The noncombatants could obviously still be attacked, but would not have movement or actions like reactions, no Dodge actions, not be subject to the suddenly extended space requirements that active combatants need etc).
For example, the PCs escort a group of refugees down a narrow corridor and are ambushed by orcs. Can the refugees stay out of the fray and allow the PCs to move through or fight in the space they would otherwise take up (especially if everyone was walking much more closely than the wide spacing of combat)?
The question is not limited to NPCs.
Background
I think the underlying problem I have is that switching from narrative to combat mode changes the space requirements of a creature from how much space it physically needs to a suddenly much larger area, which in combination with the requirement that no two creatures may share a space, leads to various problematic outcomes. Like the one described above with the refugees, or like this one, where creatures would have to jump of a carpet of flying, just because someone attacks them, which is the question that caused me to ask this one - but there are many others conceivable. I am trying to understand if characters opting to not participate in combat could be one tool to address this rules artifact.