Is it alright for a guy to beat up a transgender if they identify as a guy?

No. Assaulting anyone is wrong.

No, obviously it's not okay to beat-up anyone no matter who they are.

A transgender guy doesn't just 'identify' as a guy, he is a guy just like a cisgender guy.