Yes, it's called 30 year term life insurance and it offers level premiums and a level amount of life insurance protection lasting for a duration of 30 years.
If you pass away during the 30 year term, your beneficiary receives the death benefit payout.
If you are alive when the 30 year term expires, there is no payout of any benefits.
Here's how to get 30 year life insurance coverage.