Instead of,
“Your Honor, I want the Church to formally erase the record of my marriage!”
It more appears to be,
“Your Honor, I want the Church to formally stop listing me as a married Catholic, particularly since I'm neither!”
No. Church records do not reflect your current state of mind, religious beliefs, relationships with spouse or indeed anything which occurred post factum.
If you once walked down the aisle and said "I do" in a Catholic Church or anywhere for that matter, that record will be forever on the books. Irrespective of what happens subsequently.
Irrespective of whether you get a civil divorce or your wife dies or vanishes in the Bermuda Triangle. The marriage happened.
It's exactly the same with baptism.