There was a repo 2 month a go that implemented ranking feedback.. todo says they wanted to add it as extension, but I guess its abandoned: https://github.com/TZW1998/Taming-Stable-Diffusion-with-Human-Ranking-Feedback