Not if he provides a solution at the same time.
The solution is every facility becomes single occupant. Better security anyway.
Not exactly practical to build 20 bathrooms in every school and public building, nor is it practical to build 20 or 40 or 60 locker rooms in schools.
I personally think the most practical situation isn’t for the President or federal government to even get involved and instead let the states do things themselves. But YMMV there.