Related, there were some drugs developed to activate melanin production by hooking in to sunlight damage reaponse related pathways, and they do work for light-free tanning. But they were then found to significantly and meangingfully increase libido in men and women, so now there are follow up projects to develop these for erectile dysfunction / low libido. (You probably haven't heard of these because they're all peptides which generally have to be injected without a lot of development work and luck, but the shocking success ofsemaglutide and friends means maybe injection-only peptide lifestyle drugs have a market)
As a general just-so-story rule of thumb to be discounted in the face of evidence to the contrary, stimulus or stress that's a consequence of doing stuff generally acts as a "growth factor" even if it causes slight damage, including exercise, heat and cold shock, and sunlight.