A couple of things about soundproofing: you need mass to stop sound. The absorbent acoustic foam does virtually nothing to stop the sound going through a wall; what it does is stop the sound from reflecting back to you, so
you feel like the volume is lower... the people behind the wall won't.
To make a closet room soundproof, you need to line all of the interior with heavy materials such as mass-loaded vinyl, thick acrylic, concrete etc., and you need to make the seams airtight. If air can get out (or in), so can sound. This makes for obvious problems with ventilation. To get fresh air in and still keep sound from escaping requires some very special tricks which aren't easy to make or easy on the wallet if bought from a soundproofing shop.
If you can buy a separate closet, preferably made of heavy wood, or even build a big enough box out of plywood, you can use it as a frame to which to attach further soundproofing materials. A soundproofed room within a room is much better than just a soundproofed room.
Another thing to consider is pitch: the higher the pitch, the more effective a material generally is in absorbing the sound. A rule of thumb is that if you go one octave down, your walls will be half as effective in blocking the sound. That's why you usually hear just the bass line when you're passing by the club. Fun fact: of the four bowed string instruments, the double bass is actually the quietest and violin the loudest, measured in decibels - but which one will the neighbours complain about? So your altissimo practice might actually not be your neighbor's number one gripe.
A couple of turnkey solutions:
http://demvox.co.uk/ - this is what I'm currently considering. Ugly though.
http://www.studiobricks.com/index_en.php - the best money can buy. Very expensive. You could probably play a tuba in there in an apartment in the middle of the night and your neighbours would be none the wiser.
http://www.thomann.de/fi/clearsonic_isopac_glight_gray.htm - a cheaper alternative but doesn't come even close to the two previous ones in performance, but might be adequate.