yes rap is music. or if you want to get touchy you can call it spoken word over a bass line. either way rap as a form can be quite good.
now rappers on the other hand, often can go straight to hell. many of the popular ones write crappy songs about lose women and gold chains and really just suck.