Yes, but remember they can be used as expenses only if you were required to buy it in order to attend class, and they only apply to the American Opportunity Credit.
For example: If you're enrolled in an online program, you may be required to have a computer, which means you could deduct it. However, if you're using the computer simply out of convenience, then it most likely doesn't qualify as a deduction.