No, it's not possible to go forward just via nonprofits in a capitalist system. But I think going forward, in this system, makes the world worse.
As you mentioned, governments can be helpful!
There are benefits we've gotten through the pursuit of money and profits, but IMO it has been a net negative