@Isabelle ******
Depends on the immigration offices. Typically, these are the reason for in-country Non-Immigrant visas available at most offices, such as retirement (being over 50), spouse/parent to a Thai national, studying, employment for a company, teacher, and on and on.
For further detail, please make your own post.
This is the 'general' information for in-country Non-immigrant visas. As I wrote, if it's mentioned here doesn't mean it's available at your local immigration office.
**********************************************