Depends on the airline. I took my 11 month old child to New Zealand on AirNZ, and I bought a seat. Air Canada don't allow members under two, but United were happy to credit the roughly 20k miles to a Mileage Plus account.
Anybody know of any airline that gives miles for (paid) infant tickets?