Some forms of yoga such as specifically ashtanga yoga (also called power yoga) are very demanding and will deliver an actual workout. Now most common yoga classes are very gentle (hot yoga, hatha yoga, vinyasa, vikram, etc) and are more about relaxation/flexibility - that said, I guess they would still represent a strenuous workout for most hams.