Not even close to the same thing. Someone doing something to themselves that puts themselves in mortal danger isn't anywhere on the same level as wanting to eliminate an entire group of people based on some arbitrary attribute.
They should definitely be warned, and perhaps be put into therapy with a professional, but self harm isn't social darwinism. It's just a mental health issue.