In jest or not, it is not ok.  The theft of baskets, and trolleys too, is a big problem for supermarkets.  If he remembers to bring that basket back each time he shops then that would be a little better, but I'm sure he would need a new basket each time.  And then where do all those baskets end...