Having worked in the restaurant business for several years, this will certainly be a key problem.
I work at a fine dining establishment right now for extra money, and I can tell you no matter how many other restaurants were doing it, our head chefs would be unwilling to share ingredients.
What about just major allergens? Peanuts, soy, wheat, etc, etc? Information that would be given to anyone dining at the restaurant if they asked.
The restaurants giving out menu ingredients is quite idealistic though but possible using GroupOn-mentality (eg Everyone's doing it so I should too).