This idea is formalised in the concept of "positional goods" [0]. Fred Hirsch coined the name in his book The Social Limits to Growth, which I definitely recommend - it contains a lot of interesting discussion about the place of positional goods in the economy, and how the rising share of consumption of positional goods affects welfare.
[0] https://en.wikipedia.org/wiki/Positional_good