Most banks will require you to have a deposit to open a checking account, but some don’t require it. Credit unions might be more willing to let you open a bank account with a deposit.
Even though most banks do require a deposit, some are not very high and affordable for most people. Some checking accounts also don’t have a minimum monthly balance, so you can withdraw the deposit a few days after putting it in if you need to.