Yes, you can buy a flight ticket at Airport. However buying a ticket directly at Airport usually cost much higher than buying in advance and online. One is advised to buy tickets there only if there is no other option. In rare chances, at last minute flights they may offer discounted tickets as well.
Can you still buy tickets at the airport?