Yes, but ...
If there are dead bees in the cells and you let them rot and mold and then dry out, the bees will have a hard time cleaning them out. The mold kind of glues them in place. The bees can react to this by either entombing them, which leaves that cell unusable,
or chewing them out cell walls and all. If the chew out the cell walls, you will have an empty spot on the frame that they will hopefully fill back in with comb. It will be similar to them starting over, though, and they may replace it with drone comb if they're
needing more drones.
So, all the advice is accurate, but I would try to avoid letting them get super moldy and then drying out, which solidifies them in place. If you can help it, of course. I still wouldn't throw out the comb if that does happen, though.