I really like this idea. I mean when your food goes rotten and you dump it on the ground from what I was told it never despawns the same when you place it in a container I think unless you have loot repawn on then i think the rotten food gets replaced with loot.
but yea I like the idea of giving rotten food a purpose