Hi Nithya
Placing your mat on carpet is fine. What may make balancing difficult is if there is a thick luxurious underlay between the carpet and floor. The regular underlay that most homes has is fine and even if your balance is not rock solid it is usually just enough to challenge you to improve your balance. It’s also much better to activate core muscles (if you know how to switch them on!). You may just find that you have to re-learn balance over a few classes. But then after that it’s smooth sailing.
You may want to stay on your mat and not sweat on the carpet because after a small amount of time your home will stink. You can either step out along your mat for warrior poses or place an extra mat or simply your towel across the main mat in a ‘T’ formation so that you can take the sweat away!
Namaste
Gabrielle 🙂