@Gi**
, because you're not on a Non-O extension based on marriage to a thai but because you are married to foreigner legally working here I don't think you can pull a work permit from it.
I'd certainly ask your potential employer or make a trip to the Ministry of Labor (the people who issue work permits) and ask.. If they will issue you a work permit on that extension, you should be fine.