No, but it's not unsual to be able to offset deposits and loans. If you owe me $X and I owe you $Y, and you won't give me my $X back, why should I pay more than $Y - $X on the loan?
Edit: see this from the FDIC, which suggests this would be an option for depositors https://www.fdic.gov/consumers/banking/facts/borrowers.html