Not really. Firstly, the instructor would need a method to export all private messages that are assignments in their chosen format (eg. PDF or .doc). Secondly, private messages are plaintext and refuse HTML, so you lose any ability to format things like bold, italics, or links. Thirdly, I don't think anyone who's taking a programming course and is submitting a code assignment wants to risk throwing it into a form (or having it rejected).
Finally, there's a 5,000 character limit on PMs! Not much help if you have to submit a 5-page paper.
no subject
Finally, there's a 5,000 character limit on PMs! Not much help if you have to submit a 5-page paper.