I was just commenting about you’re saying they were illegal. Besides Nixon’s price controls, there were price controls during WW1 & WW2.
While they may not be a good move, there is certainly a precedent and they are legal.
I am not aware of an existing law allowing for price controls, the one Nixon used is no longer law. As I said above, I wouldn't guarantee passage of a new law or it passing constitutional muster now.