Decent play.. Another way of playing this is:- You could also flat pre as your hand has good value and then fold the flop if player6 shoves.. and if checked to turn, you call him allin.. But your play is fine.. I understand that you wanted to iso other players and thats why you moved allin.. Just bad beat there!! You werent the favorite anyways..
I think you played this hand absolutely correctly. It would be completely wrong to flat AQ here, because we have a lot of fold equity here, not to mention that we aren’t guaranteed to be paid if we flop a top-pair and most often we have to fold flops because we miss, so flatting is pretty bad.