MMDA Accounts and lending rules

Are banks allowed to lend off of personal or business MMDA accounts that are held with them?