They were, but not for warfare exactly.
Squads and platoons would patrol areas and roads.
When a battle happened, they all pulled together to the large formations.
But if there was not a battle, they patrolled around and kind of served as a police force as well.