Of course it can be done, but I wouldnt recommed it unless you are planning to get a Thai health insurance. A little know fact is that if you have some kind of international insurance you will have to have it certified by your embassy for the extension after a year. Many embassies are simply not going to do this. Therefor I would recommend the non-o instead, which is basically the same (with a little more effort in the first year) minus the health insurance requirement.
If you have a passport you could explore several options: education visa, DTV, business visa, non-o (if at least 50 years of age). All will require money. Even more expensive options are Elite visa and LTR.
The ask:thailand community, consisting of multiple Q/A groups with over 100,000 members, powers this platform. It is not an official government resource. Our members actively contribute to this resource, and while we strive for accuracy, we cannot guarantee its complete reliability. Assistance to travelers is provided as a community service.