Is it possible to develop a gluten allergy later in life if you were fine the first 20 years?

Yes it is possible that it was not detected when you were younger. There are many cases of celiac disease that were picked up in adults, so if you have some symptoms follow with your physician and have the testing done.