Yes, if you're questioning someone for why they didn't do something, you could say,
"How could you not (try the food)?" = implying that you should have tried the food
or
"How could you not have (tried the food)?" = same implicit meaning as above but since "have" is included, you have to turn the verb to past tense.