Technically no, you’re supposed to shop by yourself. However, there are plenty of Instacart shoppers who will shop with their kids or spouse.
Now the chances of Instacart finding out you brought someone with you are highly unlikely. But there is a chance other shoppers could report you and if Instacart should find out they will deactivate you.