Yes, it depends on your health issue, your age, your current health and the treatment you take, as well as, your prognosis and when you were diagnosed with your health issue.
There are life insurance companies that insure people with certain chronic health ailments, and there are also guaranteed issue life insurance policies available for people ages 45 up to 85.
Here's how you can learn more about finding high risk life insurance with pre existing conditions.