Novak Djokovic has appeared to lean into his role as tennis' ultimate pantomime villain throughout his career.