Yes, it is legal to hold multiple Demat and trading accounts, whether with the same broker or different brokers. Many investors prefer this approach to implement different investment strategies or to segregate their long-term and short-term portfolios. It helps in better management, tracking, and achieving various financial goals effectively.