I suppose there arent laws over it but a district could make it a requirement to move to the next grade or graduate.