Well of course they could. I can rob a bank too, if I'm determined.
But the bank does install camera's...bars, mini-walls, alarms, and in many instances guards.
And in some banks in L.A. area, you have to walk through a special security screening door to get inside.