While they are readily available on PC, console commands cannot be used directly in Starfield to activate a variety of different benefits, some of them extremely useful, such as removing the carry capacity limitations and others.
There is, however, a simple workaround that can be used to take advantage of all console commands without being able to input them directly in the console version of the game.
Once the Starfield download has been completed, boot the game up and load your latest save. Once loaded, press the @ button to access console commands, input the ones you want to take advantage of and save the game.
After having done so, all you need to do is transfer the save file you just created back to your console. The cheats activated on PC will remain active on Xbox Series X|S as well, though you will no longer be able to earn achievements for that particular save file, as it will be flagged, though this can be solved by using a mod on PC.