Even if the airlines won't let you legally give the miles to someone, they have no way of knowing if you are dead unless your death was caused by an accident on one of their planes. Therefore, you could just leave your PIN code to someone, and they can redeem your miles without a problem.