Yes, some DPs provide online account closure. Depending on the DP and account, you may need OTP, e-sign or other authentication.