There are lots of academic ghostwriting services. While not ethical, I assume they are totally legal. It would be relatively easy to hire one of them.
https://www.lewrockwell.com/2010/11/ed-dante/the-shadow-scho...