Perhaps. Whether those are the results intended are another matter qv. Enron and many more.
Edit: Then again, it depends on what you mean by capitalism. If you mean as generally practiced my criticism stands but if you mean pricing that reflects all aspects inc. externalities rather than ignoring them (as with fossil fuel use) then I'd agree. Which do you mean?