Yes, but beware of AMT
If you have huge long term capital gains loss from the past (like those incurred during the tech bust) and a huge short term capital gain, they can't be easily offset because of AMT which limits the amount of deductions you can get.