Yes, to purchase IPO shares of Patanjali, one has to have a Demat account.