YOGA PROS: you lift your body weight! and there are some challenging inversions and arm balances where your core and arms are working super hard!
YOGA CONS: yoga lacks the pulling motion you get from, say, a pullup bar. and since your limited to your body weight, if your main focus is strength, you’ll probably want to lift some weights.
Can yoga replace lifting? That, I honestly don’t know.