I can empathise completely. I am having similar problems letting go of the man I fell for after ending a very long-term relationship due to a sudden loss of trust. It is (unfortunately) classic transference, but that doesn’t make it any easier to deal with. The solution does seem to be to deal with the breakup, though. Wishing you every success on your journey