It's more likely to be 'frenemy' which is a combination of friend and enemy. An inseperable rival could be considered a frenemy, perhaps, two people who respect each other and constantly push each other to new heights, they aren't friends in the traditional sense, but need each other nonetheless.