Yes you absolutely can. With all the antibodies you give your baby your baby will be fine.
They (the lactation consultants at my hospital) encourage to breastfeed while you re sick because your baby has already been exposed and through your breast milk and colostrum, you'll pass on antibodies to help them fight off infection. :)
If your not infectious or on medication i think you can