Visa runs - Can I have a remote job and pay taxes in Taiwan?

Don’t do visa runs. It’s not guaranteed, you could be deemed as not performing to the purpose of your stay.

https://roc-taiwan.org/th_en/post/7477.html

Get a digital nomad visa instead.