If the Life Insurance Policy is a whole life insurance policy then yes you can cash out the Life Insurance premiums before your death since whole life insurance policies build cash value overtime when you pay the premiums.
If you have Term Life Insurance then no you cannot cash out a Term Life Insurance Policy since Term Life Insurance is only used to pay your funeral expenses, bills and other final expenses.