This is why, on so many issues, the idea that the American public "chose" the outcome is a fantasy. When every possible candidate for office supports the military industrial complex, how is one supposed to vote against it?
You can try; the plane is already made and exported, and for certain customers (eg. the US Navy) they're going to struggle to find anything that replaces it.
The best way to invest "against" the F-35 is to put money in companies like Embraer and Saab, which have put up a strong fight on the export market.
In case it wasn't clear, my answer to your original question is "no" with a nice bit of set-dressing to help you feel better.
FWIW, the Super Tucano and Gripen are more "morally acceptable" in that they are not power-gap level planes. The F-35 was basically designed from the ground-up to molest denied airspace and violate every rule of diplomatic exchange. The Super Tucano is useless outside COIN operations, and the Gripen is decidedly a defensive fighter and not a strike fighter.