I don’t know the details, but my ex step mother’s fourth marriage was in a Catholic church (as was her third, I think?) I wasn’t there for the first two. So there’s definitely some sort of process that even laypeople have access to to “annul” marriages