No. Very often foreigners understand origin of these two documents incorrectly. Type D visa is necessary condition for further getting a TRP but this visa is not a permit. It only provides a right to stay at the territory of Ukraine during 90 days while getting a permit).