I second what FriskyMarmot has said. Your experience might be one of the subconscious reasons I stopped watching TV long ago
Seriously, though, I have had a lot of similar breakdowns. Usually when I hit things or throw things or yell it's because I'm angry at someone or similarly spiteful, though; when I think about people being affectionate, I just get depressed. You know how it goes, but we all have this question to ask ourselves: Why?
Physical affection is a base human desire, and in many people's cases I believe it's well above sex; just to have someone hold you, I'd imagine, would be a very comforting experience. However, life is extremely hard to look straight in the eye: I see it as, "The day I die, I'm not going to have that to fall back on." So what can I do? Does it mean that I should go my entire life without physical affection? I don't want to, and I guess I shouldn't, but I'm currently choosing that path. Howcome? The reason is what FriskyMarmot said, who has (by my assumption) FAR more experience with all of this than I do, and in having more experience seems to be far more at peace with such a decision...that is, to focus on your passions, to develop them, and in doing so to willingly give up that frustration resulting from loneliness.
A concept I have read in many essays (many as in two?...<_<) is such that the attachment we have to life has very little to do with the happiness we wring from it, and I find that to be true. You must grip your passion and wring all you can out of it, as that will be what is going to save you in the end; in fulfilling your deepest desires, which I'm sure must run farther than physical affection (trust me, I know the pain of never having anyone beside me), you will near completion much more effectively. It may be a lot more painful, but you'll be much better off. Don't give up the hope of happiness, but don't rely on it either; as goes a line in one of my favorite artist's songs, "Much worse than something is nothing but hope."
Take care, and I hope you can start working towards a resolution with all of this soon. Don't give up, and be gentle with that bed (although not 'gentle' in the way that I am during my 'alone' time...I'm alone a lot, and if you started doing anything 'like that' I think people would start worrying)!
EDIT: I didn't see Robin's post when I started mine; I second that as well. I forgot to support that point that taking out frustration in the instinctive way is necessary in many, many situations, and if you can avoid unleashing your wrath on people or animals or any other living thing (well, I wouldn't mind if you came over to my house and went on a mosquito or fly-killing rampage), it should make you feel a lot better. From firsthand experience, though, I don't recommend punching lockers that hard. It hurts more than you'd think it would.