Attachment issue? That is a disorder in children, not for a grown up.
Attachment disorder is a lifelong condition meaning you are unable to build healthy attachment relationships. It is caused in babyhood and doesn't get better.
OP, I agree with dadaist's posts to an extent and it is always good to consider things from all angles. Whether this is abuse or simple insecurity depends will affect how he responds to you not doing what he wants.
If he acknowledges your right to sleep undisturbed, go out with your friends and decide the format of your own texts and accepts that he is being unreasonable but struggling perhaps it is worth exploring the relationship further.
However, if his only thought is for his own feelings/needs and making sure they are your priority, putting your right to sleep when you need to after his right to seek affection when it suits him, that's a very different matter.
Telling you that nobody else could love you is a classic abuser's strategy. It's about eroding your self esteem so that you put up with whatever behaviour they decide to impose on you and you will accept it because you think there is no escape and no alternative. You think this is better than nothing and hang on to the good memories, hoping that those times will happen more, if you could only get things right more often. People who are subjected to this behaviour begin to believe that they are worthless and unlovable and the situation becomes inescapable.
There is a danger that, in the process of trying to identify whether the problem is with him or with the relationship, you could get caught up in blaming yourself (with his assistance) and become unable to walk away. If you see that coming, you need to step away from the relationship, even just for a few weeks so you can look at it in retrospect.
You may not have described abusive behaviour in your posts but many people in abusive relationships don't see it until after they have left. Sometimes it's easier to explain a certain behaviour that is clearly unreasonable while at the same time being unable to identify or describe others that are more subtle and more abusive at the same time.