The Catholic Church has issued a warning to its clergy in Washington state: Any priest who complies with a new law requiring the reporting of child abuse confessions to authorities will be excommunicated.
https://www.newsweek.com/catholic-church-excommunicate-priests-following-new-us-state-law-2069039
No. Secular law takes precedent. For example, a religion practicing human sacrifice, cannibalism, rape or slavery would be shut down, and rightly so.
Separation of church and state means that laws are not made that explicity refer to religious practices. But that does not imply that any aspect of religious practice is above the law.
I do cover that in a later comment.
Confession and its confidentiality has already been upheld in legal precedent.