Yes. You can disable the Hue motion sensor when it is not needed (for example, when hosting a party) in the Hue app:
1. Go to the Settings tab.
2. Tap Accessories.
3. Toggle the sensor you want to disable to the off position.
To turn it back on, simply toggle the button back on.