Since local governments in the U.S. have no sovereignty, the states to which they belong can certainly impose bans that would prevent them from using facial recognition technology. The federal government probably could do so as well, using the commerce clause.