Absolutely, annual plans save you a lot of money compared to monthly plans.
Both Ahrefs and SEMrush allow you to choose annual plans instead of monthly programs.