There is a real problem where it's often hard for poor people to get and prepare healthier foods, but you don't solve that by making it illegal to sell convenient foods. You solve that by ending food deserts and making sure people can earn a living wage while working reasonable hours.