I actually don’t think that’s a good idea at all if your objective is to learn the language. It’s something I considered doing at some point, but I gave up on it for the huge drawbacks.
1- One of them is that they put emphasis on the “wrong” letters to make them fit the melody. If you don’t know the word beforehand, you will learn the wrong way to pronounce it.
Eg: なみだ has accent on the だ. But on the opening of Saint Seiya’s 地球ぎ, they say なみだ, accent on み, to fit the melody, If you don’t know the word and learned through this song, you would go around saying なみだ.
2- Another one is that too many songs are overly… poetic. Worse than trying to understand a language you still don’t understand, is doing it for a text that doesn’t really try to make sense.
Eg.: Just like a cruel angel, boy, become a legend! Even while a blue wind is now knocking at the door to the heart, you are merely looking at me and smiling.
You may have recognized this, it’s the beginning of Evangelion theme. So many songs have lyrics that are like stitched up together random sentences instead of actual paragraphs. I see little value in trying to learn them.
3- Still in the “poetic” part of the argument, many of them use words and expressions that are not really used in that situation, to exaggerate it, or make it sound deeper. If you’re a beginner in the language, you don’t know enough to understand how exaggerated that expression really is and how to, if ever, use it.
Eg: I can’t remember of an example in Japanese on the top of my head, but for example, a song may say “my heart burns for her”. If you don’t know enough of the language, you may think this a way to say “to really like”, and use it in situations where it shouldn’t go, like “my heart burns for chocolate!”. Maybe bad example, but you get the idea.
So, in short, I don’t think it’s a good idea. But hey, the best study method is the one that works for you. Maybe it’s a way that gets your attention and focus, in a way that other methods don’t. So don’t let my ranting stop you from trying.
That being said, this one is a cover of a Hatsune Miku song (I think), which is basically a story told as a song. It doesn’t escape my first argument of forced pronunciation, but at least it uses mostly normal words, that don’t try to be poetic.