No, you should not put cotton inside your baby's ear.
According to available information, it is unsafe to put cotton swabs or anything else inside your baby's ear. Instead, you can use a washcloth or cotton ball with warm water to clean the outer ear and the skin around it while bathing your baby. Earwax inside the ear does not need to be removed.