I agree with Broooooce's first paragraph.
But if you follow the advice in the 1st paragraph, the insurer is taking on a known risk and will have no concerns about paying out.
They do wiggle if you don't declare things.
As a rule of thumb, if you wanted life insurance I'd recommend a policy that fitted your needs. (I'm an IFA)
If you wanted an investment I'd recommend an investment that suited your needs.
However, mixing the two compromises the investment part, so, as a rule of thumb, I'd keep the two elements separate.