Vestal, that struck me too about the Afghan example.
It isn't considered necessary for those girls who grow up disguised as boys to follow girls' gender roles in childhood for them to fit into adult female gender roles.
So why restrict girls at all? Why are they not all out being allowed to go where they like, go out without a chaperone?
Presumably because small pockets of females being allowed to not follow the rules makes no real difference.
But if all girls were allowed freedom, gender roles would collapse.
In fact, the girls who are disguised as boys being allowed to chaperone mothers and sisters is reinforcing gender roles.