Zelenskyy can think a lot of things, doesn't have to be true. Most recent example was him thinking that diplomacy would prevail and Russian wouldn't invade, and we all see how that turned out. As for reasons why it wouldn't happen, Ukraine joining NATO goes against German energy interests, and joining NATO requires you to not be in any conflicts, which Ukraine has been in with Russia since 2014 on the eastern border.
Apparently Zelenskyy thought Ukraine had a chance of joining NATO, and was actively partnering with NATO.
I don't see any reason why Ukraine couldn't join us.
https://en.wikipedia.org/wiki/2021%E2%80%932022_Russo-Ukrain...:
On 14 September 2020, Ukrainian President Volodymyr Zelenskyy approved Ukraine's new National Security Strategy, "which provides for the development of the distinctive partnership with NATO with the aim of membership in NATO." On 24 March 2021, Zelenskyy signed the Decree No. 117/2021 approving the "strategy of de-occupation and reintegration of the temporarily occupied territory of the Autonomous Republic of Crimea and the city of Sevastopol."