There are no laws that explicitly ban purchasing a paper online. As long as it is an original work that you are submitting, you are in the clear.