Yes, you can request for closure of Demat account whenever you like and after transferring all the securities held in it to another Demat account.