Yes. Banks are generally permitted to change the type of banking business they engage in. A bank can sell its branches and transfer its deposit accounts to another bank.