Yes. Federal banking laws and regulations permit banks to sell mortgages or transfer the servicing rights to other institutions. Consumer consent is not required.
However, the bank or new servicer generally must comply with certain procedures notifying you of the transfer.