You can surely do so. Please keep in mind that the baby, regardless of age, will be considered a passenger in the taxi.