Generally, yes—games from the official Microsoft Store are safe. Microsoft employs security reviews, Windows Defender integration, and regular updates to protect users.
Downloading from the official store is safe, but good security habits remain essential.