That's honestly trivial to thwart if you're aware that such tracking exists.
Alice can just withdraw a big note and break it up by buying a coffee, then use the change from that transaction to buy the drugs instead.
Granted, some extra creativity would be required for drug purchases involving large amounts of cash