If your normal investments are going to further active harm, though, isn't that counterproductive?
It's the harm cost of the profit that matters.
(Same as if you’re against killing animals and buy used leather. You support people who want to sell used stuff and, thus, indirectly producers of leather.)