The topic of porting games to consoles is really difficult, especially if you have no experience. I would recommend looking at
Devoted Studios - they specialize in joint development and porting of games for Switch, Xbox Series X|S and PlayStation 5. They help with technical code optimization, interface integration and manage the certification process on the platforms. This is very convenient if you want to avoid long trials and errors. In addition, they optimize the game so that it runs smoothly on each platform.