Technically yes, the Alien and Sedition Acts were designed to keep the number of foreign immigrants to the United States to a minimum, but they were more designed to keep potential enemies of the state from undermining the government by limiting their freedom of speech--alien or not.