Yes, the foreigner can open bank account in Thai bank. Depends on the visa type and purpose of opening we can suggest you the easiest way to do that and also will help you to meet with the bank stuff and assist you with opening an account. Internet banking is also available from the most of thai banks.