Anchor pin bushes and alignment are a major cause of brake shoes coming out of the drum and wearing unevenly.
The rollers are no longer sitting on the s-cam properly. They are rubbing up against the s-cam bush housing and these brakes wouldn't be working very well at all. Even with a new brake shoe you can see the alignment is not in the correct position.
This is due to the anchor pin housing being bent.
The second part of the problem is wear in the anchor pin bush. This also contributes to the shoe being able to misalign. You can make your own tool for replacing bushes by using the old anchor pin with the washes and the nut and bolt. Spend a bit of time on the bench grinder making your pin so it's a loose fit inside the new bush. Note that quick-release brake shoes have different anchor pins, the pins that you want are the general purpose brake shoes use these ones to make your tool.
To replace the bush put it on your tool get a pair of vise grips to lightly hold the bush together and prevent it from spreading. By hitting the new Bush in you hit the old Bush out. Anchor pin bushes are easier to replace if you have the hub removed. This is because you can have a clean swing at the bush. For stubborn bushes that will not come out I use a reciprocating saw or a hacksaw to cut a slit in the old bush.
Just be careful not to go too far and cut into the housing.
I've also had anchor pin bushes even with a new blade that are very difficult to cut a slit in the bush. So another method that I have had success with is using a porter power or a small jack to press the bush in and out. Make sure what you're jacking against is solid enough to withstand the pressure. It is worth putting a jack on the other side of the housing to what you are pressing it in. This will stop it bending and getting out of alignment.
To fix the alignment issues use a jack or a porter power against the housing and bend it back into shape. I recommend you have a few spare bushes in case you damage them on the stubborn ones.