If they want you to use WhatsApp they can provide you with a device to use it on, then at least it's completely isolated from your own data and can't do too much harm.
Btw oficially, in my state, schools use their own forked version of ubuntu (KITE Ubuntu), spevifically designed for school use and has foss programs installed and syllabus teaches only that. But still, since the online class started in 2020, google meet, whatsapp and all of them are "required" by students. The problem is that none of the schools or teachers actually knows why "free software only" in schools were introduced