A capitalist society quite happily permits communist behaviour. Say you live on a street of 100 people (For ease of numbers.). You could without any trouble (Well, assuming everyone was agreeable to the idea of course. Nice that, opting out, isn't it?) get together and arrange to pool your incomes, to ensure everyone on the street gets funding for their rent, food, heating, electricity, and so forth. It also means you could acquire the resources to buy a plot of land and some tools and farm your own foods. You could buy solar panels and suchlike and produce your own electricity.