Some people do.   They boil the carrots first, then mash them before mixing them with the rice and milk.  You can try doing it this way if you prefer. I prefer to grate them finely to keep some texture in the carrots. I've never had problems with them being raw when I prepare them this way.