If it were grammatical, it would change the meaning. In writing sentences like this in real-life situations, it's best to write what you mean very clearly. All small boys and girls = all small boys + all small girls.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.