
Separate returns can be amended to file jointly.
Joint returns can not be amended to go separately.
So, yes, the IRS will allow it. But how you force someone to sign an amended joint return is another story.
If you are divorced in the year, you can not file as married filing jointly or married filing separately.
If you are still married on last date of the year, you can file as married or head of household (if you qualify).