Legally no, at least in the US and NZ, but technically yes. On any stock exchange I know of, you'd sell your TSLA for cash, then use the cash to buy MSFT. On crypto exchanges there tend to be a lot of trading pairs with tokens on both sides, so cash is never involved.