No, unfortunately, you cannot use an out-of-date passport to prove digital Right to Work. Identification Document Validation Technology (IDVT) only allows ratification of in-date, biometric UK and Irish passports.