This actually happens in Portugal. When filling your taxes you can select a non-profit to receive a cut (don't remember how much though). Family and most friends live there, and never have I heard about this changing in any way how they feel about taxes.