If you are referring to remedial stretching and balancing for the injured, no.
If you are referring to the buncha other things yoga can be, no.
But I am guessing the first.
There are better ways to achieve fitness than stretching for an hour and doing a few parlor tricks.
Yes, I've done it in my hey to help a yoga instructor show their advanced students how to do stuff, I hadn't taken yoga to show strength mattered.
No sweat, really. Except for those freaky Bikram folks.
Active stretching > passive.
Having fun moving > than parlor trick balancing.
Some of the breathing stuff can be helpful. I will give that stretchmaniacs that.
Of course shavasana and tadasana are the respective king and queen of the asanas and they are just an after thought in most programs.
Master those two and forget the rest.