This is a plot feature that is not solvable with ggridges now (see, e.g. here) Might the new version of ggplot2 make it simple to add to ggridges?
from the ggplot 2 v4 announcement :
Both geom_area() and geom_ribbon() now allow a varying fill aesthetic within a group. Such a fill is displayed as a gradient, and therefore requires R 4.1.0+ and a compatible graphics device.
