Does anyone ever encounter algae bloom whenever a fish died in your tank but unable to remove it? (maybe the fish died under a driftwood and concealed its carcass)

I'm trying to understand the relation of phosphate levels with respect to dead fishes in the tank.