the eviction moratorium was implemented because the alternative was a good fraction of the population getting evicted on a very short timescale. the legal and police infrastructure to carry it out simply did not exist, and any attempt would have been overwhelmed with refusal and defensive organizing.
any solution would have been problematic and disruptive to property rights. the CDC exceeding their authority just provided some realpolitik deniability for elected officials, and prevented open revolt.