Is it legal to sell third party accounts?

I know there has been posts in the past with inquires on selling, lending, etc of Microsoft accounts, and this had a legality issue (And we don’t own anything just a license). If someone say wanted to sell simmarket, orbx, and contrail accounts, is this legal? Not the addons on an individual, but the accounts themselves.

I went as far as looking at everything on simmarket and can’t see that this isn’t a possibility. Hoping someone else has some insight

It is against the terms of use to buy/sell a Microsoft account. As for your inquiry, please ask the individual companies on their policies regarding account selling. Thank you!