No. A life insurance payout can usually be used for whatever beneficiaries choose to use it for. The insurer won’t place conditions on how they spend it.
You may want to mention what you would like it to be used for in your will, or add a letter of wishes to your will. Some insurers also let you document your wishes digitally, so loved ones know what you intended it for, such as buying a relative their first car.
Putting a life insurance policy in a trust can offer you more control over how the money is spent and when the beneficiary receives it.