Acting desperate or needy will surely push your ex away because these qualities are every bit not alluring.
I understand if you've already been considering it, there's nothing that stops you. https://365.expresso.blog/question/how-to-get-your-ex-back-whenever-your-heart-is-breaking-4/