Will I be able to upgrade my perpetual license to the latest version if my licenses have been off subscription for more than 24 months, after 1 January 2023?

No. Your license will not be eligible for subscription reconnection. You will have to
purchase a new YSC/YLC license to run the latest version.