Not quite. A will can contain wording to create a testamentary trust to save estate taxes, care for minors, etc. But, because it’s part of your will, this trust cannot go into effect until after you die and the will is probated. So it does not avoid probate and provides no protection at incapacity.