In my experience, this seems to vary a lot by route.
Except during the early stages of the pandemic when all seating was closed, I have never been stopped from eating personal food in the cafe on the Silvers or Crescent. I have also been able to do so on various state-supported trains...