Do you think that being in hospital might help?

Self injury isn't something you can normally just quit without some sort of fallback and tools to cope - it's an addiction. Maybe talk to your parents about seeing a therapist instead to help, rather than being forced to go into the hospital?