Yes, the Hungarian residency by investment program will include a pathway to Hungarian citizenship after 8 years of physical residency. However, the eligibility criteria for citizenship is completely separate from that of the Golden Visa program.
So, while citizenship is a very real possibility, it is not automatic for Golden Visa holders.