No. The illusion will only go from being hit directly.
Illusion is broken—causing the user to appear as their true species—when the user is damaged directly by an attack. As such, it is not broken by secondary effects such as the HP loss caused by Substitute, Life Orb, weather conditions, status ailments, entry hazards, recoil, etc.
So no I'm afraid