Not even close.
Viagra, I belive is a vaso dialator. Clomid is a estrogen blocker. Clomid may help with ED, but takes longer and works completely differently.
Also, viagra may get you hard, but you may have trouble climaxing. clomid will definately help you climax and increase volume, which is good.