Yeah, established during Morrison's run in the prose issue. The Joker refers to Batman choosing to be a superhero instead of just an deeply scarred orphan.
Then, during R.I.P. he saw Batman unmasked and called Bruce Wayne, repeatedly. Some thought this would be a very bad situation for Bruce, the Joker learning his identity, but, as we saw in that earlier issue, the Joker already knew that.