Sorry, this really doesn't make sense to me. Do you think people eat fatty, sugary, salty foods because it makes them feel bad? No, it makes them feel great.
But, you may say, that is only temporary pleasure. They won't feel great a few hours later when their blood sugar crashes. One should, you could argue, look at how you feel all day.
But then why stop at one day? Why not look at your happiness over years. Maybe that diet that makes you feel good during the day slowly causes a disease, such as cancer, that REALLY makes you feel bad later. This could, for example, be the effect of eating a lot of red meat.
"Eat what makes you feel good" is simple and appealing advice. Like most complex issues, however, a simple and appealing solution is not likely to be the best.