“The smart answer is no because it remain a violation of federal law.”
That’s the big government nanny answer. The smart answer is that an employer sets such policies for its employees.
Which the federal government (employer) did.