Are you rich? If you can take a job with zero salary, the answer is probably yes. That, or you're a modest trustafarian with no dependents.
I'd keep two things in mind.
First, 25% of 0 is still 0. Good luck pawning off some of those Macbooks and Xeons.
Second, if the company does onboard an investor or a dozen or VCs or cash management or payday loans, whoever has investor status will get preferential payout. Full stop. You can now divide your actual equity by four, or ten.
But hey. Next Facebook. It could happen.