@Lindsay ******
No it can not, at least, not for Thai language. I do not believe the Thai government is approving people entering Thailand for studying other languages right now.
Of course, you can enroll in a university in Thailand as a degree seeking student, and you can stay for the length of your degree program.