Yes, poetic justice can be ironic. That is one of the stipulations that separate it from being regular ol' justice.
Usually it is when a person gets what they deserve in the same manner in which they have given to others, for good or bad, and in a creative way. Hence the poetic.
The story...