Hello,
Yes, it's normal when installing a security program such as McAfee or Avast to get promoted for a reboot.
The rebooted is needed so the problem can get loaded and start scanning before other potential harmful programs can begin running and/or hide themselves.