@Shai *******
, depends on your nationality. If your embassy in Thailand would issue an income affidavit, you can use that as proof of funds.
If your embassy wouldn't do it, you have to have a bank account in Thailand with the balance to be able to apply for an in-country Non-O visa.