With Cunning Stalker, you can get CA either by flanking or by attacking alone an enemy which has no one adjacent.
But it still doesn't grant automatic CA -- there are any number of reasons why an ally might come up to attack the same enemy, and then by the time your turn comes around, it's...