The government is planning to allow up to 400,000 migrant workers from three neighboring countries to work in Thailand legally in a bid to reduce the smuggling of illegal migrants via border provinces and prevent the spreading of Covid-19, said Dr Taweesilp Visanuyothin, spokesman of the Center for Covid-19 Situation Administration (CCSA) on Friday.