Yes, sadly it does sometimes happen that a hog will feed next to a badger. However, it is not a good idea to encourage hogs to feed either with foxes or, particularly badgers. Both will eat a hedgehog given the opportunity and I have heard of a badger eating next to a hedgehog who, despite having food left, turned and attacked and killed the hedgehog.
But foxes also will kill hogs. What is normally reported is that the fox waits for the hog to unroll, but if they are encouraged to eat side by side, the hog is already unrolled and is a sitting target.
Foxes and badgers are predators and whilst it might sound a romantic idea that all wild animals live harmoniously together, in reality some of them eat others of them. Left to their own devices it may be less likely to happen (between these 3 particular species), but if we humans are trying to help preserve hedgehogs, we should not be encouraging them into un-natural situations by encouraging predators and prey to eat side by side. Particularly in such close proximity as shown in this photograph. Hogs need to maintain their natural respect for and defences against predators and not be lulled into a false sense of security.
I have no doubt that the person feeding would be very upset if the hog was killed, but sadly, they have set up a situation where it is more likely.