I didn't mean the formal education. I think education as teaching and learning is a never ending process. In this forum with exchange of ideas we learn from each other. We may give up our personal ideas and adopt others' ideas if they seem more reasonable. But here a personal choice is involved but even with education the person being educated can refuse to learn. Therefore a voluntary change of opinion and education are essentially the same thing: teaching and learning.
But what makes education moral? My theist beliefs aside, without a common foundation for morality there can be no universal answer to this question. But i still i think there can be a common ground or criterion on what makes education moral: if the education leads to common good (happiness, friendship, mutual coexistence, and justice) then it's moral to apply or enforce it with proper means. So freedom here is compromised upon. And generally there can no absolute freedom in a world where everything is inevitably influencing everything. So we compromise on freedom for a better collective end.