Yes, but if you do not opt into overdraft, you will still be charged a “non-sufficient funds” (NSF) fee when the bank declines your transaction. And the NSF fee is usually higher than the overdraft fee.
This doesn't make any sense and is just a money grab on the poor and desperate, because there is absolutely no technical reason why declining a checking or debit card transaction should cost $35+ to process.