Yes I have seen that example, yes its rare, Don't know if it was true as the internet is the internet. But its possible. I would expect the snake to regurgitate a meal that was too large or causing damage. (if that was possible) I also saw a python with an deer anteater that pierced its body and poked out. (in the international year zoo publication years ago) In that example the acid burnt it off, it feel off and the wild retic was ok.
But this is just a piece of wood in the snakes neck. that can happen with some substrates and an odd bit of larger sharp wood. but again is very very rare.
There are still enzymes in that area that can soften it. if not the strong stomach acid that can dissolve bone, Bodies have a way of removing foreign objects naturally. If not I guess its tweezers to pull it out by a vet.
But it should be examined, it could be anything. for example a syst.