Yes, GameModeBase has
virtual bool AllowCheats(APlayerController* P);
Override that function in your GameMode class and change the criteria to allow the CheatManager.
I do not agree with Zeblote here, if there is a function that allows you to override and modify when to spawn or allow it, it’s okay to do that, but take into account that the user will have access to a lot of commands very development-related like going to other maps, show debug information, or modify behaviors.
If you want to take care of the player’s experience, probably is not a good idea to grant access to all that.