Can the pickup code be retrieved via myDPD?

No, that is currently not possible.