if you both share similarities, worldview and values it might increase your chances for a long relationship. especially core values which never change and bond you both can increase the chances. i had a match some time ago, out of 300 questions we have answered, 297 were identically so its was a close to perfect fit. it was amazing. after 6 months, my depression got worse due to health issues and other stuff, i have become suicidal and i somehow managed to sabotage the relationship because deep down i just wanted to ctb. i think meanwhile i also couldn't keep up with her being too much on the extrovert scale (that was one of the 3 differences, im hardcore introvert, she was ambivert and not that depressed nor into isolation haha). it was hard to keep up because i didn't want to drag her down. i should have let her go earlier i think..
i think it can work out, but as i wrote once, depression is kind of a death sentence to long term relationships, at least for me. sometimes i wish i had someone close as depressed and suicidal as me who also plans to ctb..