Drunk man accidentally takes $1600 Uber ride from West Virginia to New Jersey

No exactly the same, but your idea is a bit like secured credit cards: you give the bank $x as collateral, and that x is your credit limit on the card. If you want to lower you credit limit, withdraw. If you want to raise it, put more money in.