It depends on your post-retirement withdrawal amounts.
As a rule of thumb, I expect to withdraw so little that I'll have no earned income taxes, only capital gains, so anything I can do to get back income tax now is worthwhile.
However, that is of limited utility as my income tax burden is getting pretty close to zero.
If you "pay lot a of income tax" you may be in the 15% bracket in retirement anyway, and so lowering your cost basis for the future may not be sufficiently offset by the extra cash now.
For almost everyone what you describe is a good idea, but enough people fall into the second category that I think it's important to encourage you to do the actual math or post more details so we can do the math for you.