Simply put, no, at least, not by itself.
First, weight is a terrible measure of fitness. BMI is a bad and pointless metric for measuring individuals, it’s primary use is for observing populations.
Muscle is much denser than fat. You can actually end up weighing the same or even heavier and looking and feeling much better.
No body recomposition routine is complete without a diet plan that consists of a caloric deficit. Eat food. Not too much. Mostly plants. If you’re not losing fat, you’re still eating too much. If you’re not gaining muscle, you’re not eating enough protein.
Yoga, as a form of exercise, at it’s most basic form not terribly intense. A typical hour session could burn between 200 and 500 calories depending on your intensity. Hot yoga could burn some more due to your body having to work to regulate your temperature. In order to get much out of it you’d have to move at a fairly quick pace, similar to ashtanga yoga style, as it’s been styled in the west. Additionally, you’d have to sink deep enough into the poses to really engage your muscles.
Yoga’s primary benefit to fitness comes in 4 parts
Flexibility — decent for preventing injuries outside of yoga
2 Isometric strength
Isometric strength — decent for building up and maintaining a small degree of muscle, particularly in areas you didn’t even know existed
Balance — core strength, and fine extremity strength (fore arms and ankles) are useful in any part of your life
4 Calm and relaxation
Calm and relaxation. When you’re stressed your body works against you as you try to burn off fat. Finding inner peace and being able to relax helps you in dozens of ways, particularly in helping to regulate cortisol levels (up or down).
Is yoga a good activity? Sure. Will it help you to lose weight? Only if you eat right.
I’d pair it with some intense cardio or HIIT training, a diet with a slight caloric deficit and some short sessions of heavy weight lifting for a complete, balanced and aggressive approach to fat loss.