Not in one individual, but animals that die from eating them will self select themselves out of the gene pool (if done before they get a chance to mate), over time only leaving those that avoid it. The more generations that survive this the more it becomes an instinct.