No, installing Bootcamp does not void your Mac's warranty. Bootcamp is an Apple-supported utility designed to run Windows on your Mac without causing any harm to your device.