Could the MCU Avengers have beaten Thanos with all of the Infinity Stones?

Current Events

No. However if they were all united, they could have prevented him from getting all 6 to begin with.