Is it possible to take melanin supplements to help you tan?

No. Melanin is a complex biochemical compound produced by your skin cells. If you ingest melanin, it is broken down and cannot supplement your skin. It is in fact not available as a supplement so if you are being sold a product advertised as helping with this - it is a fraud.