a concern I've heard of CBDCs and cashless systems in general is that governments will be able to do exactly that, and there wouldn't be a recourse to someone pushed out of the system.
More realistically they could have your purchases and income streams feed into a social credit system or actuarial models.