Your visa or immigration status answers why you may enter or remain in Thailand. The Work Permit answers whether you are authorized to perform the work.
For ordinary Thai-employer employment, investigate both. Do not assume Non-Immigrant B status is the permit itself, and do not use a workcation or remote-work label as a shortcut for ordinary employment by a Thai company.
The standard checklist represented below is scoped to an eligible Non-Immigrant basis rather than Tourist or Transit status and also requires applicant ability/qualification evidence. Other work-authorization categories can have different rules.