At some extent, Yes! but not exactly. It is true that any disease can be controlled easily by strengthen immunity but it doesn't mean you've strong immunity for other disease also.
Take an example like few people are highly immuned with cold, flu etc. but they can not resist hot atmosphere like in desert and suffers "dehydration". Immune system depends upon many factors like physical condition, life style, exercise, food habits etc which decides the strength of immune system.