Yes I believe so during severe epidemics because it is for the public safety and health.  I do support this, as it should be done regardless.