I doubt it - entering into a loan agreement requires a person to be alive. This is basic contract law. However, if there is a testamentary trust created by the will, the trustee of that trust seek finance for the benefit of the trust provided the will allows it - i.e. for investment purposes...