It depends on the policy you have:
If you have whole life insurance and your cash value is available, then yes. However, your cash value isn’t always on hand, and Transamerica charges you interest if you do borrow from your insurance policy.
If you have a term life insurance policy, you cannot borrow money from it.