Yes, it is mandatory to have a Demat Account to invest in the stock market in India. All transactions in the stock market are settled through the Demat Account, and physical share certificates are no longer issued.