If we are still talking about Optima's only, the starting/ charging Red top can be used as a deep cycle. The same in reverse the Yellow and Blue tops can be used with an alternator. They will handle it better than most others but you will remove a certain amount of life. Flooded batteries can NOT be interchanged!
Properly maintained and in a good environment (no corrosion)a performance battery, that is proper for the situation, can last as long as 10- 12 years.