Absolutely.
And it was an excellent basis for learning Spanish also.
I always valued taking Latin in hs.
My first language is Spanish. Amazingly, after spending a week in Romania, I could understand about 80% of what was said to me because of it’s common Latin base. Italian is much more similar, but it just goes to show how strong the language skills stuck throughout the Roman Empire.
Even after two Millennia.