Just rent a deposit box at the bank and put your cash there. They won’t touch it. Just like having it under your mattress but probably safer from criminals.
Would a so-called cbdc work? Get a bank account at the Fed that only gives you overnight rates (i.e. low but still higher than banks!), and only risk is sovereign risk.
Akin to the narrow banks proposals of a few years ago