Data point: I'm flying now MEL-DOH-JNB on QR (revenue J) connecting to JNB-MAD on IB (Avios J) on a different ticket. QR check-in staff in MEL had no problem to check my luggage all the way to Madrid. She even tried to issue my BP for JNB-MAD but that was about 36h away and she couldn't.