Yes.  Go to **Xbox Guide button** → **Preferences** → **Notifications** and edit the options.  You can also set your Xbox Guide online status to "Busy".