Yes, D7, D8 and D9 all lead to the same endpoint: after five years of legal residency, you can normally apply for Portuguese nationality, subject to language (A2 level) and clean-record requirements.
Recent changes mean that, for many applicants, the 5-year clock now starts from when you first apply for a residence permit, not from when the card is issued, which can effectively shorten your wait.
Tejo can connect you with legal partners who specialize in the citizenship step when you’re ready.