Yes, consciously or subconsciously we tend to base the things we buy on what the people we know or spend time with will think. Especially as young people, as more than you'd think are very insecure and almost everyone is pretending to be someone they're really not and a lot are having straight up identy crises.
So in short our friends influence what we buy as we think about what they will like and they also influence our lifestyle and our thinking patterns.