Yes it certainly can be. If you have a family history of allergies or food intolerances then there is a very high chance that this will pass down on to you.
My family for instance, on my fathers side had several allergies to foods, environmental, sun, bee stings, you name it. All of my fathers siblings had allergies so the fact that I inherited this was no real surprise.