No, you wouldn't have been able to board without a visa. If the airline allows passengers to board without a visa, and they are denied entry into Turkey, the airline would be responsible for repatriation on the next available flight at their cost. The same applies to any passengers attempting to fly with insufficient time remaining on their passport before it expires.
Visas are not now available to purchase at ANY Turkish airport.