Depending on the circumstances
https://sergiomsnl143.image-perth.org/workplace-safety-programs-how-they-can-prevent-injuries-and-legal-issues
Depending on the circumstances, certain types of employment-related injuries may not be covered under standard workers’ comp insurance policies—such as self-inflicted injuries or those occurring during illegal activities.