You can apparently get Perfect Pitch from the medication Valporate, according to some study years back. Though, I do not recall how effective it was. It was significant enough to be detected though.
For whatever it's worth, I heard about this like a decade ago, and nothing more has come from it, so perhaps you are correct in that the connection is speculative (the study only had 24 participants and more research needs to be conducted with large samples), but it's an interesting study none the less.