Yes you can have any number of demat accounts mapped to your trading account. But you have to decide one account where the delivery of shares bought will go and inform your broker that it is your account for shares payout. The pay-in of the shares sold can be done through any demat account mapped to your trading account.