Pew actually measured this too, and while there's some conversion it's mostly just a decline in religiosity generally:
A lot of people in Latin America have converted to evangelical prosperity gospel. So we don’t know if there are fewer religious people than before from just looking at the numbers of Catholics