You can get it if it suits the merchant to provide it. But that happens less and less.
Merchants, in principal, don't want to hold more cash than they need as a float for the days operations — anything more than that is a burden, since they have the cost of handling and processing cash that they don't require for business purposes. So if you pay by debit card and get cash back, that reduces the cost to the merchant of handling more cash than he requires.
But, as more and more transactions are paid by electronic means, the amount of cash that merchants handle falls anyway. There comes a point where the amount of transactions settled in cash is more or less sufficient to support the float required, and at that point you don't want to hand out cash in case you end up with an insufficient float. So you reduce or stop the provision of cashback.
The issue is affected by other considerations as well — the charging structure imposed by the banks for the use of debit cards (a flat fee per transaction encourages cashback; a percentage fee discourages it) and whether banks charge customers for the use of an ATM (the more likely it is you will pay a charge if you use an ATM, the more likely you are to prefer to get cash via cashback).