We were not defending a family or anything. For the bugbears we were ambushed by them on our way to our destination. After battle I took their heads and put them on pikes in the area we fought them.
For the worshipers of Norgorber we found a hideout of them and attacked them in their dining room. After the battle I went to get some javelins ready to set their heads on them and my DM said it was an evil act.
Solidly neutral at worst. Norgorber cultists are generally considered Very Bad People, as are bugbears. If your warning deters bugbears in the area from further ambushes I'd say you did the locals a favor. Evil is a real tangible thing in Pathfinder; it's got none of the real shades of grey we have here IRL.
A paladin might even do the same. Is it honorable to put your enemies heads on a pike? Depends on your definition of honor; it's not lying or using poison as per the code, deosnt even rise to that level really. Is it evil? Not unless your in a world where dismemberment disqualifies you from a your afterlife or something. Is it yucky and distasteful though?
Most likely, but not evil.