you need a license from microsoft (the same for sony nintendo) to port your game to their console, even if you don’t wanna sell it, even if you just want to play the game you created, if you don’t have the license you can’t even package to the console.