Maybe that was the case historically but these days I can’t imagine a professor wanting that. It would break all the grading process as docx isn’t supported properly by a lot of the online tools.
Even if they did I imagine the students would create some issues with Macros. You’d end up with documents that are behaving like malware if you open them in desktop. That wouldn’t be a problem with Word online but word online isn’t really usable.