Playing the devil advocate right now, but legally speaking, if you would have done this on Coinbase for example, wound't you still be liable for the same taxes?
Buying Bitcoin is not a taxable event. Selling it is and converting to fiat is. That's why I make sure to always sell my coins FIFO, so I'm only owing long term capital gains.