Yes, of course they can ask to see your bank account. And they can search your luggage, your cell phone, your social media accounts and your laptop computer too. The alternative, should you object to those searches, is to give up your attempt to enter the country and return home.