The most important part of dieting is watching portions and making sure that you consume less healthy items in moderation. You can absolutely eat blueberry muffins on a diet, you'll just want to only eat one, and make sure it's within your daily calorie allotment.