Yes, definitely. It is really tragic suicide is automatically associated with depression. They can share similar symptoms, they can be caused by one another probably but it does not mean it is always the case nor can the two be used interchangeably.
A suicidal person can be suicidal without being depressed, especially if they are even a tiny bit more intelligent (for lack of a better word) than average or are more receptive to their surroundings or are more introspective or have a more sensitive personality, more empathy, kindness, all those things that are taken advantage of in our world, you get the point.
Add to that a deeply sick society that treats everyone as a resource to be discarded, creates discord between people of different classes, is hyper competitive and forces everyone to do anything and everything for money and to top it all off has a dysfunctional balance between working and living and nobody can afford shit anyway.
I truly wonder what could possibly be the reason for someone to be suicidal.
For the most part to me, suicide is just a reflection of the world an individual lives in and, unlike fairytales, most people are powerless and cannot reasonably or at all, affect whatever causes them to be suicidal which leads to feeling hopeless, helpless and trapped.
Of course, you can also be suicidal for none of the reasons above, maybe you feel you dont fit in or belong or you dont feel understood on a deeper level or you feel you have no purpose etc. Just living in and of itself is enough reason to feel suicidal.
I`ll end this by saying the answer to your question is a resounding yes, you can be suicidal but not depressed.