Working from home and work permits

This is not something that applies to me, but I have been curious for a while seeing how many Mainland companies have asked their employees to work remotely:

How would it affect foreign workers in Taiwan if a company decided to have them working remotely? I mean as related to work permits, which usually require that they work in a specific location.

Is this allowed? Are they supposed to require a special permit for this? Or are changes due to measures designed to avoid epidemic allowed by law?