if they are all females then yes.however if some turn out to be males,say 4 or 5,then you'll just about be able to get away with it,coz you will be getting rid of the males right?you must be using pretty small pots tho?no bigger than 6 litres.
ive grown in a similar sized space before(a wardrobe) so i know whats acheivable.you definatly dont want 10 in that sized space when they start to flower.