Yes. But, you must show proof that you got married. This can be through an apostille certificate of marriage or a civil partnership certificate. The marriage can be overturned if there’s enough evidence to show that the marriage is not legal.