I doubt that'd be legal.
Sure it is. The Founders set the precedent.
Every society has a right to fix the fundamental principles of its association, and to say to all individuals, that if they contemplate pursuits beyond the limits of these principles and involving dangers which the society chooses to avoid, they must go somewhere else for their exercise; that we want no citizens, and still less ephemeral and pseudo-citizens, on such terms. We may exclude them from our territory, as we do persons infected with disease.
Thomas Jefferson to William H. Crawford, 1816
Lincoln liked it, too.
Unlike the other laws, the Alien Enemies Act passed with Democratic-Republican support; it never expired and is still valid today.
Immigrants and the Alien and Sedition Acts of 1798 | Gilder Lehrman Institute of American History
Immigrants and the Alien and Sedition Acts of 1798 | Americans were on edge in the spring and summer of 1798. War and revolution were raging in Europe; Ireland was rebelling against England; and France was continuing its attacks on American ships. Although the Jay Treaty, which went into effect...
Democrats are clearly alien enemies. They also constantly encourage assassination attempts on police and public officials.