I know that Swissair's Qualiflyer programme will transfer the miles of the deceased to spouse or next-of-kin upon presentation of a death certificate.
AC and CP's miles can be willed to anyone. But I think prior arrangements must be made with the airline.