Technically you’d be violating the conditions of the visa since you are no longer employed as a remote worker.
There isn’t much of a push currently to ensure that DTV holders are still “in status” upon entry so you can probably get away with it but obviously that may change with the ebbs and flows of Thai immigration enforcement.