Probably your body trying to get rid of some old and denaturated blood left over in the vagina from the previous periods. Yes , you can ovulate when your period is like this as long as you have normal amount of estrogen and progesterone in the blood to make you to ovulate.
Please click the green accept button if my answer is helpful to you. A positive feedback rating and a bonus would be encouraging. If you have any further questions please feel free to ask. Take care , Dr.Yetimyan.