That suggestion defeats the purpose. The thing is schools are supposed to provide meals to students (at no cost), so if you're bringing your own lunch you're not saving your money, you saving the school money.
If you take the money that the school gives you and make your own lunch for less money than the restaurants charge, that's better than a free lunch, since you have more money.