The legality of using a hidden camera in a docking station depends on the laws of your country or state. In some places, it is illegal to record someone without their consent, while in others it is legal as long as it is not done in private areas such as bathrooms or bedrooms. It is important to research the laws in your area before using a hidden camera.