Nudity and sex are overall far from gratuitous in BG3.
Of course it is gratuitous. As has already been stated, remove the 'romance' and sex and it in no way affects the main plot and most of the time it does do much for the sub-plots. The hobgoblin back-scuttling the ogress in Act 1 is there for why?