It's not that simple. Let's say I buy bitcoins on LocalBitcoins and sell them later for a loss. I declare that loss to IRS - will I be able to deduct that amount from my income? I highly doubt it.
No, if it happens it's taxable. If you fail to declare it, you are evading taxes and just haven't been caught (yet).