My feeling about "Right-to-Repair" is that it would be illegitimate if we abolished intellectual property laws, which are incompatible with conventional property rights.
However, I don't see any reason why two parties couldn't agree to a transaction that comes with a condition that repairs must be done by the seller.