Is materialism a philosophy accepted by the majority in western
societies?
If polling results are to be believed, no.
I base that on at least one good litmus test for materialism, which is whether one believes in gods or spirits of some kind--which materialism would disallow. We do have polling data on that issue, which I take from the "Demographics of atheism" Wikipedia article, and which indicates that a clear majority of people do believe in gods or spirits throughout Europe and the Americas, as well as Australia/New Zealand:
- Europe: 51% believe in a god; 26% believe in spirit or life force (2010 poll).
- United States: 10% were atheists
- Mexico and South America: Percentages for atheism in single digits.
- Australia: Only 13% are "convinced atheists"
None of these regions have a majority atheist population, so none can have a majority materialism worldview.
I was in a philosophy class and the teacher mentioned some
philosophical ideas and asked us to raise our hands if we agreed with
a certain statement. The overwhelming majority agreed with materialism
Keep in mind, it is possible that some of those that raised their hands misunderstood how far-reaching materialism is. It would have been interesting to ask them if they agreed with atheism, which is implied by materialism. Also keep in mind that a philosophy class is not a random cross-section of the population, but a group who have self selected to be there, and so they are likely not representative of the population of the West.