Can I hide the hub away inside a cupboard?

Yes, but be aware that the signal range may be reduced depending on the materials used in the cupboard - a wooden cupboard or dresser will not have much effect but a metal cabinet will greatly reduce the range.