I’d you do some research into non-profits you’ll find there are tons of entirely legal ways to milk them for profit, legally.
Easiest? Pay yourself a nice fat salary and use most of the rest of the money to hire “nonprofit management companies” which may or may not be you or your friends in a cheap costume.
IMO non-profit or charitable status is a must for sustainable, open, community-driven projects. One of the dumbest takes I often hear is "this for-profit corporation was good and kind before financial capitalism came along". Financial capitalism was always there, the for-profit corporation is pretty much a pure product of financial capitalism. Don't believe any for-profit startup that tells you it is all about the social mission, it is not. Even if the company is European.