Numerous Republican states have proposed legislation seeking to ban the purchase of unhealthy food and drinks.