Unfortunately, no. The Console Commands menu where cheats can be entered is only available on PC. If you're playing on Xbox then these codes are not available to you.