Technically she can, esrb never rates online gameplay itself. (wonder why)
But we all know there is always a bunch of swearing, insults everywhere, and occasional racial remarks in COD, and more than likely people trying to produce offensive/obscene images with their emblems in BO2. (most of this done by none other than other kids)
If you are ok with that than by all means let her play, but do show how to mute/report people.
they are higher rated the game case says M she is too young end of story