That's a very narrow and non-standard use of the term. The ban here applies to banning the school from providing such books, and I can easily find other examples where "ban" is used to describe restrictions on a school placed by the district or legislature.
- "Across the United States, many states have actively banned the sale of soda in high schools, and evidence suggests that students’ in-school access to soda has declined as a result." https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4658713/
- "Bill Introduced to Ban Sale of Sports Drinks at Schools" https://www.nbcsandiego.com/news/local/bill-introduced-to-ba...
- "Bans on School Junk Food Pay Off in California" https://archive.nytimes.com/well.blogs.nytimes.com/2012/05/0... (that's a state-wide ban)
- "Last year, 44 percent of school districts banned junk food from vending machines, believing that by eliminating unhealthy foods, they'd encourage kids to eat better." https://www.medicaldaily.com/vending-machine-bans-schools-en... (these are district bans)
- In Texas, the "state pulled french fries in 2004 and banned deep frying completely in 2009", https://www.dallasnews.com/news/education/2013/06/28/new-usd...
Just because the school is banned from proving soft drinks, candy bars, sports drinks, and french fries, that doesn't necessarily mean students are prohibited from bringing the same from home.
FWIW, my local library bans children from using the library computers to play fighting and shooting games. That is a ban. Even if a child may play the same game on their own device while at the library.
My library also has video games to check out. If the state made a law prohibiting the library from doing so, yes, that would correctly be called a ban on providing video games.