Allergy is a complex phenomenon that depends on the individual. Generally, it is not possible to definitively state whether or not a food allergy can lead to a cosmetic allergy.
If you are allergic to a specific nut but wish to use its vegetable oil for topical application, we advise you to consult your doctor beforehand. Without medical advice, as a precaution, do not apply the vegetable oil to your skin.