Yes, fitting a dashcam can invalidate the warranty, especially if the fault rose can be traced back to the dashcam's fitment. To avoid this, you can ask the dealer to install it for you to maintain the warranty.