Shall Elementary School Girls Wear the Hijab?

Can an Islamic school require its elementary school female students to wear a hijab as dress code when Islamically they might not be at the age when they are required to wear a hijab?