Go into preferences there are tabs to select any 'banned' actions (which prevents npcs from choosing certain actions in combat/sex) and action weight (which decides how often npcs will select certain outcomes like bodywriting in battle/sex). There should also be a button in the performance secetion of the settings menu to disable dynamic body writing which would stop it from visually appearing. There is no way to disable entirely but with all those settings down, it'll only show up as status effects on npcs outside of player interaction.
Viewing post in Broken Dreams Correctional Center comments
Nope there is no option to restrict bodywriting in the restrictions menu, there is one in your characters fetish menu but that doesn't effect anything other then how your character reacts to it happening, the option in the performance setting only hides the visual words appearing on your character not the act of bodywriting occurring and the dialogue that follows.
Interesting, apologies for the inaccuracies! This will likely have to be elevated on the issues or suggestions on the Github page for it to go anywhere. Rahi appears to be rather busy so it may take some time to be addressed if at all. Alternatively, a modder could edit the content out of the game if there are any willing to take on the task.