Yes, but it depends on the type and severity of the medical problems. The insurance company can utilize 3 options:
Charge a higher premium for the policy
Exclude the condition from the policy
Decline insurance altogether