As always it is the journey that matters (writing), not the outcome (the essay).
For example, students could record their writing of an essay with a keylogger or something.
Additionally - with the use of some advanced zero-knowledge algos or crypto timestamp provenance - it should be possible to prove that they have written the essay, without revealing their recording.