Yes, you can deduct all income except those taxed at a higher rate. Examples include long-term capital gains, short-term capital gains, etc.