I know ledgers joker was meant to be in this film before his passing and on a rewatch I can really see how they wrote Banes character to fulfill the plot ideas they had for ledgers joker.
The whole idea of Bane giving Gotham back to the people, creating chaos and anarchy feels like it was written for an agent of chaos, the joker.