Melanin

according to my biology book, everyone has the same amount of melanin in their system. it’s released by hormonal reasctions to the sun, tanning beds, etc. i was wondering, since people take all sorts of hormones such as estrogen and melatonin these days, could a tanning pill (or even shot) be made from hormones?