Comment on POA - Power of Attorney for your Demat account
You can buy stocks and take delivery in the demat account. While selling you will have to first transfer shares to your broker manually before selling them. As you can guess this is quite cumbersome and not possible to be done online.