My opinion isn't professional
, but yes, it is certainly possible that h. pylori could be a cause for his anemia.
That does not rule out the possibility that gluten sensitivity isn't also a contributing factor.
These things can co-exist and commonly do. Either or both conditions could result in anemia.
Cara