No, there is no distinct hospital location in The Sims 4 where Sims can receive medical attention. Most illnesses are managed at home with medication, tea, or rest.