Fanfiction exists in a complex legal space. Since it uses characters and settings from existing works which are copyrighted, renting it would probably not be legal. Copyright law is strict when it comes to commercial use of derivative works. There are very few exceptions, and unless the fanfiction has been given explicit permission by the original creator to be rented or distributed in a commercial way, it's best to assume it's not legal.