I looked into it, you need to do something called “direct indexing” if you want to specifically exclude a stock. Here is one example, Wealthfront can also do it.
You're exposing yourself to tracking error every time the index rebalances. If you want to show it to the man, just go to a protest while buying a cheap index fund.
If you want to buy the market and bet against Tesla, it's actually a great way. It may not be the most profitable, but that's never been the point doing something out of protest or spite.