No legal issue if it's food you have brought in yourself, for example I regularly eat ASDA's hot chicken at my desk. Your employer may well have rules about it though.
A friend was a manager for a large organisation. She was told that if she did not have time to take a proper break, they would need to enquire into whether she couldn't cope or was being overworked.