my friend has done that for his wife.they have a son together, 5 year visa tests and revue after 2 years 6 months, or something like that. She is still here and working.
I registered my marriage at British embassy in Bangkok.
Got thai marriage cert translated, when we registered at local government office, they changed her ID, so when she went for passport it was in marriage name.
Visa was easy if you supply the right paper work. That was 12 years ago. I think things should be more easy now