No, it is highly recommended NOT TO pour detergents inside PET bottles, sugar added beverages or milk bottles. PET (polyethylen terephtalate) is not compatible with alkaline detergents.
It is a pH matter. For example, if we drop some lemon juice (a safe and natural food) upon a marble floor, we will see that the juice is even corrosive towards the seemingly tough marble. Similarly, some packaging materials are attacked and corroded by some products: this is the case of the plastic PET (so different than PE polyethylene or than PP polypropylene), which are corroded by alkaline pH products, as Bensos’ Dishwasher.
The Bleaching Powder code D is suitable to be used in small quantities (less than 1 tablespoon for a full laundry) in washing machine with dark colours only if they are not delicate fabrics. It is recommended to use it with resistant colours, with the aim to prevent bad smells due to bacteria and moulds in the machine.