Basically in Shopify customers can't delete their own accounts like close accounts or something similar.
But at the same time you can delete the customer from backend sections, so you if need this feature then you need to create a private APP that interacts with API and allow the customer to delete their own account.
Here is the useful Shopify forum thread link
discussing the same feature or issue.
I hope it will provide you a clear view regarding it.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…