Reportedly, yes, it can be in a major currency. However, having travelled in and out of Thailand over the past 26 years, I have neither been asked about how much cash I carry on me, nor seen that anyone has. If, upon arrival, one IO thinks that you have been here 'too often, or too long', they won't care about the 20,000 baht anyway...