Many snakes will eat just fine, but you always run the risk of having to waste the meal.
Also, some snakes don't multi-task very well: what I mean by that is that both digestion and shedding requires good hydration, & that's why some snakes have stuck sheds when they eat at the same time- their body just doesn't have enough water for both jobs.
So, it's up to you...eating doesn't hurt anything, unless your snake is so dehydrated that they barf up their meal. While that's not likely, the fact that they don't eat in the wild when in shed (because there's no "room service" & they don't survive by tangling with prey when they can't see what they're doing) that makes me avoid feeding snakes when in shed, unless it's by accident. I prefer to duplicate what happens in nature as much as is practical.