Yes and no. If an athlete were to break their leg, they'd have to be signed off by a medical doctor who would officially declare them unfit with a medical certificate.
Osaka didn't do this, she just didn't show up. It would be like a tennis player breaking their leg and just going home without telling anyone. Then when they were missed on the court phoning in and saying 'I've got a broken leg"
I explored the whole thing a bit more in this article here. https://medium.com/lucid-nightmare/naomi-osaka-and-the-ongoing-infantilisation-of-mental-health-a4978ff14e58