According to K-Bank any non-O visa is acceptable. However, for reasons known only to themselves, many expats married to Thais try to live in Thailand on a succession of tourist entries. These will not be allowed a bank account, even though they're married
Foreigners on tourism visas are having their accounts closed and funds returned in cash. Banks will no longer allow tourists to have bank accounts, as these were found to be used predominantly in money-laundering
You don't need a bank account for immigration purposes unless the immigration officer is aware that your ability to use an income affidavit is coming to an end, and is preparing you for the next extension in a year's time?