There is no restriction on which way round a robot fits in the cube. The diagonal is a massive 141mm!

You might want to check the width though and allow enough room for the drive train. You could always stick to 100mm long and make the overall width fit across the diagonal of the cube, but with 30mm wheels you wont be able to go quite so far into the corners.