People try to do this all the time, but it's actually really complicated to do this in any kind of way that would be legal and reasonable. I really wouldn't recommend trying to do this. If you're worried about the sustainability of your nonprofit, you'll need to talk to your whoever is handling your funding and your accountant to get a sense for what's going on.