On the ba.com "
airline partners" page, there is the following footnote:
† Codeshare flights booked under the code of a British Airways partner airline but operated by an airline who is not a British Airways partner are not eligible for mileage or tier point accrual.
That sounds like a definite
No.