It’s entirely optional. Out of the 29 h-scenes currently in the game, 5 offer a choice between a "vanilla" version and an "NTS" variant, while 3 are NTS-only. Even with the NTS content enabled, these scenes can still be avoided (for instance, if you wish to access them with certain characters but not others).
And, of course, as noted in the game's description, you can disable NTS in the settings (or by making a specific choice during the first chapter) so that any decisions by the main character that would lead to this content are no longer presented to you and NTS only scenes will no longer be displayed in the gallery.