Yes. Food allergies can already be detected in the first 6 months of life. There is no lower age limit to detect food allergies.
If your baby is only a few months of age and has symptoms, allergy testing can be very helpful. The only limitation is that young babies are smaller and there is a limit to the number of tests that can be applied.