Short of adding a command to heal the nearest ally of yours with the lowest HP (which would kind of suck)
I've some suggestions to counteract the "Healing enemies" when your allies are surrounded and unclickable that was complained about in a precious thread.
1) Modification of the healing spell scripts that check if the person you are healing is hostile, and checks to see if there is an ally within 3m (touch range) and targets them instead. This way you cannot missclick healing on a hostile creature at all, preventing clunky nwn target highlighting from stopping you from getting to your allies in time. This would be the easiest and most viable solution.
2) Priority targets. Allow a player tool to allow players to choose targets which sets a number on them, allowing them to type something like "/c heal a1" to heal their first ally, etc. This system would be kind of complicated to implement but would provide the best results for the time taken.
Only issue I see is when fighting powerful undead whom you wish to heal to death.
Easily overcome by adding a check wether the creature in question is undead to the process.
It's still a bad suggestion, though. Overcomplicates things, and it's quite possible to click accurately if you just zoom in far enough.
Seems mostly like a waste... i've been healing primarily by clicking on players, rather than portraits, for my entire NwN "career."
This gives the incentive to take things slow, rather than uncarefully rushing through quests. Adding commands like the ones you suggested would just add an incentive for that behavior, in my opinion, much like seeing the OOC party information did.
This is getting ridiculously foolish. You have to click on your enemies to Magic Missle, and could accidentally hit an ally. People don't bother to complain when you can't click your enemies portrait to Magic Missle!
You guys are taking a relatively mundane problem and blowing it out of proportion.