Yes.
The Gemara mentions inflation repeatedly.
An example of comparisons being made and inflation factor that devalued the currencies would be the Mishna Bava Metzia 75A which says
לא יאמר אדם לחבירו הלויני כור חטין ואני אתן לך לגורן
A person may not say to another: Lend me a kor of wheat and I will give it back to you at the time the wheat is brought to the granary
The issue is that is a chance of Ribis (interest) if there is inflation and the currency is devalued with regard to the price of wheat then when the borrower pays back he violates the prohibition of interest .
The Gemara immediately preceding the Mishna says
תנו רבנן אומר אדם לחבירו
הלויני כור חטין וקוצץ לו דמים הוזלו נותן לו חטים הוקרו נותן
דמיהם
The Rabbis learned A person may say to another Lend me a kor of wheat, for a set price. If the price of he wheat depreciates in value, he pays back the quantity of wheat that he borrowed, and if it appreciates, he pay back the pre agreed amount of money.
In Gemaras like the one above comparisons are being made between the purchasing power of money at different times and the devaluation of currencies due to inflation
The Gemara mentions currency fluctuation in the beginning of the Perek
Bava Metzia 60B
ותיסברא דאיכא נשך בלא תרבית ותרבית בלא נשך נשך בלא
תרבית היכי דמי
אי דאוזפיה מאה במאה ועשרים מעיקרא קיימי מאה בדנקא ולבסוף קיימי מאה ועשרים בדנקא נשך איכא דקא נכית ליה דקא שקיל מיניה מידי דלא יהיב ותרבית ליכא דלית ליה רווחא דדנקא א
אוזפיה ודנקא קא. שקיל מיניה
And can you understand that there is nesech without tarbis, and tarbis without neshekh? (Doyraysa) If he lends him one hundred perutos with the agreement to be repaid one hundred and twenty, and at the time of the loan perutos are worth one-sixth [bedanka] of a dinar, and when he pays, one hundred and twenty perutos are worth one-sixth of a dinar, this is not an example of one without the other. etc
(It is both)
ותו תרבית בלא נשך היכי דמי אי דאוזיף מאה במאה מעיקרא
קיימי מאה בדנקא ולבסוף מאה בחומשא
Additionally, what are the circumstances in which there could be tarbis without neshekh? If it is in a case where one lends one hundred perutos with the agreement to be repaid one hundred, and initially one hundred perutos are worth one-sixth of a dinar, and ultimately, when he is repaid, one hundred perutos are worth one-fifth of a dinar, etc.
(It is also not an example of one without the other.)