Most likely not, as you have not prayed a lot of the night. However, praying with the imam until he finishes would grant you this reward.

I heard Allah’s Messenger (ﷺ) saying regarding Ramadan, “Whoever prayed at night in it (the month of Ramadan) out of sincere Faith and hoping for a reward from Allah, then all his previous sins will be forgiven.” Is the above reward applicable if I pray at home and pray less than 8 rakah..

Taraweeh, Tahajjud and Qiyam-ul-Layl |