Two months is pretty quick to start doing aggressive yoga. Not sure what type of THR you had…posterior or anterior. Mine was posterior and the muscles, tendons they cut and/or moved created healing that 6 months post op are still pretty weak. For instance, raising/lowering my leg while lying on my back. At two months I was extending my walking and spinning on a low resistance exercise bike to get my mobility back. Once I started that it cam back pretty quickly and at 6 months and I starting to get more aggressive with strengthening and mobility.
My suggestion is to seek out a PT for the appropriate strengthening/ mobility exercises …..many of the exercises they suggest are yoga moves and you will be able to gradually add in to get you back to your old routine fairly quickly.