My house is on land that’s on a 999 year lease since 1870(ish) from the county that moved boundaries 40 years ago...and we have no idea who the the lease holder is... so that’s fairly perpetual
Generally, yes. You can sell the building on the land (which you own) and transfer the lease (sometimes for a fee, sometimes not). My family has a cabin North of Seattle, WA (USA) that is on land that a non-profit cultural association just renewed a 99 year lease on from a railroad (I forget which one). So long as you abide by the org rules sales are easy. I do not know how universal such set-ups are.