I have a friend who purchased work (a computer program assignment) from somebody else. He hired them to do it. However, he made a significant effort to make the purchased work into his own (he rewrote everything, he made the whole program into something different while preserving the output after receiving the purchased work), then submitted it. Was what he did ethical?
If he would cite it and then get the marks only for the added value of his own work, then it would be ethical.
If he submits it to get credit for it all, this is highly unethical, in fact in my personal opinion even worse than plagiarism, as it is far harder to prove the misconduct and demonstrates an elevated level of (academia-level) criminal energy beyond the usual misdeeds.