Traditionally, no, rapping was much more of a rhythmic style of saying poetry/lyrics, whereas singing was much more about melody. But melody has always played a part in the delivery of some rap and within rap songs in general, as well. More recently, however, a lot of rappers make melody a much more integral part of their lyrics and performance. So the lines do tend to blur sometimes.