That's very possible. The hard question is "then what?"
If you remove the market economy and ability for people to make money, take initiative and be rewarded for it, and go instead to a pure socialist model/goal, that goes so much against so many human instincts, that it will be hard to have people buying into it. As history shows. And it won't remove AI.
What new system do we propose, or how do we modify the current one, in a globalized, AI-powered world?