Not really, calculate the number of people in your group, their levels, the number of enemies, their levels, bam. Not completely accurate (obviously) due to the skills that wouldn't be taken into account, but it could come somewhat close. To get the number of enemies/allies simply use AutoIt (I beleive that's what it's called) and have it scan the "colors".
Red being bad, Green being good.
AutoIt scans for red, takes a count, logs it, then scans green, takes a count, logs that. Get seperate program that you could make pretty easily I'd imagine, to read from the logs, then it calculates the two and gives you your final number of survival.
Anyways, that's how I beleive it could be done. I know fishing bots work similar to that method.