I don't like using homemade food masks. It's difficult to get the food out of your hair then you're flushing it down your pipes.
Not to mention that a lot of the food treatments don't work as well as a product you can buy.
A healthy diet is vital to good hair just like it is for skin. You can use the best skin care products in the world but if your diet is horrible, your skin won't be its best.