Is it okay?

Hello, I notice that when I completely give up my favorite food, which isn't healthy, I feel so bad, physically unwell, but as soon as I eat it, I feel better. I eat healthily, which is important to me, but I can't completely give up pizza and things like that. Is it a good rule…