Yes. When one proton from the 3rd position in the pyrrole ring leaves the ring, it leaves behind a negative charge. That -ve charge will be in conjugation with the 2 other pi bonds... That would result in aromaticity...hence the acidity.
Whereas in the case of pyridine, the system is aromatic irrespective of whether the Nitrogen is protonated or not