I dare say it would not be possible to do this today.
At least two Supreme Court justices of our era (Rehnquist and Scalia) disagree with you on that.
"An entirely separate and important philosophical question is whether occasional presidential excesses and judicial restraint in wartime are desirable or undesirable. In one sense, this question is very largely academic. There is no reason to think that future wartime presidents will act differently from Lincoln, Wilson, or Roosevelt, or that future Justices of the Supreme Court will decide questions differently than their predecessors."
"The Supreme Court's Korematsu decision upholding the internment of Japanese Americans was wrong, but it could happen again in war time."
And if you'd think that people today wouldn't stand for it, you're wrong, too. Some people not only would do that all over again, they write books to justify it and claim that the same argument also applies in the "War on Terror". These are usually the same kind of people who are fond of the phrase "constitution is not a suicide pact" (by which they mean that it can be ignored at will if they feel sufficiently threatened).
Now, don't get me wrong. I'm not saying that things haven't improved in US in that department since WW2. They did, and public opinion would not be so easily swayed today (in WW2, internment was virtually uncontroversial). But it's far from a settled thing, as well, both legally and in terms of public support, and we have to remain on guard against repeat attempts.