Of course he has.
"Musk himself has posted several anti-LGBTQ+ tweets in the past, including claims that a “woke mind virus” needs to be defeated, blaming “communist” universities for his trans daughter’s fraught relationship with him, and making false claims about gender-affirming surgery." #MuskIsAVillain #MuskyTwitter
Twitter quietly rolls back policy protecting trans users from hate https://www.thepinknews.com/2023/04/18/twitter-trans-hate-speech-policy-elon-musk/