Is it ethical for a student to commit self-plagiarism from a non-academic source?
The best approach would be to discuss this with the instructor of the course to see whether it satisfies the requirements of the assignment.