Yes. The bank may refuse to permit overdrafts at an ATM unless you opt-in to the overdraft service.
The bank must provide accounts with the same terms, conditions and features to consumers who affirmatively consent or opt in to the overdraft protection feature and to consumers who do not opt in, with the exception of the bank's overdraft service for ATM and one-time debit card transactions.
If the bank pays other types of overdraft transactions, such as the payment of a check that overdraws your account, the bank cannot refuse to pay such transactions because you withheld your consent or agreement to a fee for the payment of ATM and one-time debit card transactions.