Yes and no.
No. (a slice or two every once in a while)
Yes. (one whole pizza per day)
Portion control (or more specifically, the lack thereof) is the key as to whether you'll get fat or not eating pizza (or any other types of food).