A touch spell that deals damage is perfectly acceptable in D&D. A character with an infinite number of spells is not.

(Having said that, I don't play 4E, because of all the weird stuff, so maybe a character with an infinite number of attack spells can work, but it won't be allowed in my game.)