Can a corporation sell its own shares?

Yes. But it's mostly small corporations.