You'd need to be careful about how you setup and run the corporation such that the veil can't be pierced. If a court got involved, I think they'd be nonplussed if the corporation was organized, acquired the property, and filed for bankruptcy within a couple of months.
Could this work? It could potentially help a very large number of people get out of these scams. Seems so obvious now that you point it out I imagine someone must've thought of this before.
I imagine the timeshare company has right of first refusal for transfers, or will be adding that to their contracts as soon as this is a thing.
Now, is it legal? Maybe, maybe not. But they will pretend it is until you take them to court, and they'll quickly settle if you agree not to tell anyone else.
A right of first refusal just means that they have the opportunity to buy the timeshare before you can sell it to anyone else. That would be a-ok for the customer, since either way the timeshare's off their hands.