Instead of considering devocalization, you should focus on finding ways to manage barking behavior through positive reinforcement training and behavioral modification. There are many resources available to help you train your dog effectively.
If you're struggling with your dog's barking, please reach out to a certified professional dog trainer or behaviorist for help. They can provide you with the right guidance and support to address the underlying cause of the barking and teach you effective training techniques.
Remember, your dog's well-being should always be your top priority.