Yes, you can hold a CD inside a tax-sheltered account, such as a Roth IRA account.