Exactly.
You could do it both for Gmail and Drive, as content sharing in Classroom is done by Classroom, so I'm pretty sure it will not mess with Classroom usage.
Also, of course, you can't allow Chat/Spaces or Meet.
And you have to realise that as soon as Classroom has created and shared a document with the student, the teacher can communicate with the student within the document.
--
https://wheretofind.me/@NoSubstitute