Such a law would violate the 10th amendment.
The obstacle any federal legislation would have to overcome, is the same they would have to overcome in order to directly issue a drivers license.
Notice that in the Real ID act of 2007, the mandate was that if states did not do what congress wanted, those states would be prohibited in using their state ID & DL for federal purposes.
This was done, because the Federal Congress cannot trump or issue DL's.
I've been waiting to see when the first guy tries to register for social security benefits and the Feds deny him on the basis that his State ID is not valid. The Feds are treading really thin water here, and they know it.