Converting from D7 to Golden Visa!

Just wondering if anyone has had experience first moving to Portugal with a D7 and then changing after some time to the Golden Visa (e.g. in case you can no longer stay in Portugal for the required durations to qualify for Portuguese citizenship or your kids move outside of Portugal and you’d like to still obtain Portuguese citizenship for them).

A follow-up question assuming this kind of conversion is even possible: If you start with D7 and then switch to GV, can you still apply for permanent residency/citizenship after 5 years total (e.g. 2 year under D7 and 3 years under GV) or do you need to wait for your full GV period to complete before being able to apply for citizenship?