Detergent doesn’t actually strip the DWR.
You just aren’t really supposed to do it as it clogs the pores in the membrane. However if you rinse well afterwards, or tech wash afterwards then its okay. If your gear is really filthy then tech wash doesn’t clean that well, but detergent does.
Just make sure it is non-bio