Yes most if not all airlines will accept cash at the airport for buying a plane ticket.
However most airlines will not accept any cash anymore on board the airplane when purchasing meals and other things such as snacks, cocktails and movies but for the actual plane ticket you can still use cash to purchase the plane ticket at the counter at the airport.