Is it possible to become allergic to apple even if you've been eating apples all your life?

Yes. Unfortunately yes, just like any food. Apple allergy is somewhat rare though compared to nuts and seafood for example. Just in case, check to see if you have developed a birch allergy, a known crossreactive pollen.