Just because you can, doesn't mean you should
Ultimately, you're not wrong though. MacOS will always be superior because it can do more than iPadOS or a Chromebook. I just don't think that's the goal here. I think it would be smarter to put a simplified device with, what I'm assuming would be, a better battery into classrooms.
And I think others have pointed this out, but then if you need a stronger chip iPad with touch screen/pencil support or you need the full power of MacOS, there are choices.