Yes, it is completely against the Terms of Service to buy/sell accounts and anything therein. (So that includes heroes, cities and everything else.)