Please be careful at work or you may potentially face a lawsuit or charges. Have you tried dating apps? Maybe you can find someone to focus your attention on that would appreciate it and give some of that attention back.
I agree with everyone else suggesting therapy. You can "fix" your relationship attachment style with other people through a client-therapy relationship.