Sure.
You could decrypt it to a temp file and run it and delete the temp file.
It would not be 'serious' protection, then you have to also worry about RAM. swap files, undelete, temp area 'watchers' ... It would do for most students, though not all.
What is the purpose?