Yes, he moaned on purpose to gain a place.
Interestingly I watched Jolyon Palmers technical review of Canada and he reminded us that the same happened to Hamilton's front wing end plate last year after Max brake tested him and Ham was not shown the black and orange flag. Yes, the end plate was a lot smaller then, but clearly this year the race director is having none of it.
But yes, both Alpine's are becoming a bit rebel. Ocon for crying out aloud to gain a position and Alonso for that weaving BS on the 2nd last lap, for which he was given the 5s penalty.