Yeah but I would recommend buying in advance online if you're going with another person or more. Alone you should be fine, or even in a group on a slow night.
You can buy tickets when you arrive but you will still have to pick your seats when you purchase your tickets. No guarantee a large group will be able to sit together buying right before the show.
Thanks! Your answer is awaiting moderation.