Yes, with time. Close friend somewhat recently went through the collapse of a seven year relationship, him ending it unexpected. To say her early days were rich with misery, despair, and heartbreak would be an understatement, but time and support settled in, soothed the wounds, and the future is brighter.
It's gonna be shit to begin with, but that's okay, because somethings things just are shit. It's okay to feel like shit because sometimes life is shit. Focus on yourself, the people who care for you, and those that what you to be happy and know you will be. A loss of one relationship is just one step closer to the one that's right for you.