If you have the Extension of Stay based on being married with a Thai National you can not use that as basis for your mother to apply for the Non Immigrant O visa based on being a family member of an alien permitted a temo\porary stay in the kingdom.
You can read here: For your mother is it clause number 20 and yours is clause 18, which is not mentioned under possibilities if you open 20.
I guess you have the big stamp from Immigration with in the secon line the text:
Extension of Stay permitted up to 4 May 2022.
This stay has to be cancelled by you using the last day of working, you may do this in advance to have time to leave the country or apply for a new Extension of Stay if you can meet the requirements.
If you want to avoid 1 day at immigration for the 30 day extentsion, apply for the Single Entry Tourist Visa and get 60 days on entry. And in case of, possible to extend once with another 30 days.