They ALL have the right to sell. There’s a document called the Servicing Disclosure Statement.
Also, just in terms of basic principles of property ownership, the loan (the right to receive repayment) is the lender’s property and, unless the law states otherwise, the lender can do what he wishes with it.