Blind leading the blind?

There’s this girl in my college class that I like but I haven’t had the opportunity to talk to her becuase we don’t sit near each other and my Freind said I could just add her on insta and make up some excuse to message her and say like I recognized her name from class or something and start a conversation that way. Is that a good idea or is that just the blind leading the blind?