Yes, you can purchase a term life policy that returns your premium if you outlive the policy term.
However, these plans charge a premium that is 2-3 times more than regular term life policies.
It may be an option to consider purchasing regular term life and investing the difference you would save by not paying the higher premiums for a return of premium term life insurance policy.
Learn more about term life with ROP.