It has not been done because of safety reasons and maintenance costs. Commercial airliners are certified for safe operation within relatively low margins. Most commercial airliners like the Airbus A320 are certified for load factors between about -1 to +2,5 g in clean configuration (flaps and gear up). And it is only about 0 to 2 g with flaps set. The airliners structures certainly can handle more stress. Especially with a minimum of fuel and of course no passengers and cargo aboard. But that is outside of legal certification and rather risky, more than ever in front of audiences whilst presenting stuff during low approaches.
Barrel rolls are possible, but loops certainly would cause damage to the structure. Commercial airliners have to be very fast for starting loops and finish them (close to their usual cruise speed). A high rate of climb whilst going up very steep certainly would cause severe damage to the wings, if not even rip them of.