You will disagree, but largely no. Those things where solved by a variety of other factors and where on their way out long before the government came along to "regulate" them and take the credit for it.
Could you elaborate in some detail on those other factors? Preferably with some citations. I’m totally unfamiliar with this second narrative, while I am familiar with the likes of ‘The Jungle’.