Can you be suicidal and also scared to die?

Title. Lately I've been having thoughts of killing myself due to my poor emotional conditions. However I'm also afraid of dying. Is that a thing?