This is knows as socially conscious investing, and it's a growing movement.
However, there are two things to be aware of here.
First, it's all too easy to get swept up in the emotion of it and miss the broader picture. For example, if you choose to never invest in gun makers because of the rampant gun violence on our streets and in our school, you'll potentially impact the very companies that arm our men and women in uniform who protect our nation and its interests.
Second, as long as most investors don't do the same as you, your performance is likely to lag the overall market.