Generally no. What may happen is getting conditionally rebaptized if there’s any doubt about one’s n.o. validity. In which case, that serves as a declaration of desire to follow tradition.
The same holds for Confirmation if one doubts the n.o. validity, it should be conditionally redone.
Certain couples need to check their marital status if there has been a n.o. annulment on either side. Check with the priest.
I’ve seen in a few prayer books, a statement of renunciation if you’ve, as a Catholic, denounced the Catholic Faith and formally joined some other religion. I’ve never heard of anyone being required to do this, even if they did attend, say, Protestant services, or just didn’t practice any religion. Perhaps it’s a good idea or required of someone who formally renounced the Church or was initiated into a non-Christian religion as in paganism or Satanism, Wikka, Hindu, Buddhist…
Check with a priest, of course, on any issues of which you are unsure.