You are not allowed to pray for your death. Death will come when it comes.
Pray instead that Allah helps you to stop the sins or shows you a way to end them (for instance, if someone has an addiction, this could be an intervention that actually works), forgives the sins, and heals any harm to yourself or others they may have caused. If it is possible to make adjustments to your life to reduce or avoid the sins (such as moving to a different place or household), also do that.
Allah is all-powerful and things that seem like miracles happen!