Yes, it is OK to uninstall Game Bar, but Microsoft users had a hard time doing it. Since the app is built into the OS, the uninstall button is greyed out. Although, you can use Powershell or a third-party app to delete such system apps.