Yoga is a great form of exercise that can help you build strength, flexibility, and balance, but it may not be the most effective way to build large amounts of muscle mass.
While yoga does use your body weight as resistance and can help build lean muscle over time, it generally doesn't provide the same level of muscle-building stimulus as more traditional strength training exercises, such as weightlifting. However, certain types of yoga, such as power yoga or hot yoga, may provide a more intense workout that can help build muscle more effectively.
That being said, the amount of muscle you can build with yoga will depend on a variety of factors, including your body type, your fitness level, the specific types of yoga you practice, and the frequency and intensity of your practice.
If your goal is to build large amounts of muscle mass, you may want to consider incorporating additional strength training exercises into your routine, such as weightlifting or bodyweight exercises. However, if you're looking for a low-impact, full-body workout that can help you build functional strength and flexibility, yoga can be a great option.