To my knowledge it's not possible, because for inserting, MongoDB either accepts a single document object, or an array of such objects, but not an array of scalars.
Which IMO makes sense, because how would MongoDB know that you want to map those scalars to a particular field (name
, in this case)? That's application logic, not database logic.