No, you can joke about everything, the key point of my argument that you do not understand is that if your 'joke' is shit, if it punches down and is just a harmful stereotype, then people will rightfully be pissed and you will face the consequences of your stupidity.
The fact you can't conceive the very idea that it is possible to make a trans joke that is actually funny and not a harmful, bigoted stereotype tells me everything I need to know about you and your mindset.