I've seen people do all kinds of crazy feats of strength using different classes. They downed old onyxia with nothing but priests once.

Play what you want to play. I would recommend the holy trinity though (1xTank, 1xHealer, 3xDPS ). You won't be able to use random dungeon finder unless you have a class that can queue as a tank and one that can queue as a healer.