So yes, the federal government can do this theoretically, but not in the way Biden actually did it.
But such mandates are “generally relegated to the legislature in our system of government, so I think the courts will focus on that issue first and say that the president may not have the authority to do this without congressional authorization,” Dershowitz said.