Can passenger plane do an aileron roll and fly upside down?
In fact this has been done before.  A well documented case is of "Tex" Johnston rolling a 707.  In general airliners cannot do sustained inverted flight as they lack a fuel system (and lubrication system) for sustained inverted flight.

A barrel roll is readily executable. Youtube has a video of Tex Johnston doing a barrel roll.  
                
            

Edit: I gave a quick answer and felt guilty about it. There is more to the story. The OP talks about aileron rolls. An aileron roll is a maneuver where the plane does not substantially change altitude. The G forces will be negative at some point, and it is more "violent" than a barrel roll.  A barrel roll is a maneuver where the plane is rolled about the longitudinal and lateral axis, if you will, a loop and a roll in one.  Properly executed the barrel roll is a positive G maneuver.

Years ago, when I was young and some old geezer was teaching me aerobatics, he would climb into the plane with a full cup of coffee.  My job was to get to the practice area, and execute some maneuvers, including barrel rolls in each direction, without spilling his coffee.