You can control your texting with effort. The reason you are texting is not because you are compulsive but because you are insecure. Your fears of him leaving you and finding someone else is fueling this need to text . This offers a way to be constantly reassured that you are still a couple. When you feel less insecure you will text less. When you feel anxious you probably text him for that immediate gratification. It is a way of reassuring yourself that you have a bond with him.
Instead of focusing texting focus on why you feel he will find someone else. When you do that the texting will automatically become less. Focus instead on why you think he would leave and why you are holding on so tight. Maybe people have hurt you or maybe there is something about him that you find will be so attractive to others. When you remedy your insecurity everything else will follow. Try to tell him that you feel this insecure and what can he commit to that will help you. Maybe he will agree to calling or texting you twice a day to tell you he is thinking of you and that he cares a lot. Use this as a way to feel that connection. If he can help you feel positive about the relationship than that will reduce the need to text. If not you may push him away because you are appearing very needy. Take this up with him so that you can work on it together.
If this is helpful press accept