The Buddhist path has 3 trainings:
sila/morality
samadhi/concentration
panna/wisdom.
To view a lady as a composite of flesh, bones, feces, pus, joint oil, etc, is the practise of panna/wisdom. It is called 'asubha'. There are many 'asubha' videos on Youtube.
Not judging things as 'good' & 'bad' is the practice of samadhi/concentration but not the practice of morality or wisdom. Not judging sex as 'good' or 'bad', i.e., 'theme-less-ness', can also overcome sexual urges.
Morality forms the foundation of the path. It is to know what is good (harmless/beneficial) & what is bad (harmful/unbeneficial). Without morality, there may possibly be a battle against sex because by using asubha or theme-less-ness only it may be difficult to generate empathy & thus metta (loving-kindness) towards women, whose natural purpose in life & often greatest joy is motherhood. Morality includes the precept about refraining from 'sexual misconduct'. The purpose of the precept is to preserve the integrity & nurturing of families. In the modern world, since the era of universal birth-control, there is obviously a correlation between sexual liberalism & difficulties in maintaining the family unit. Thus morality views certain types of sex as 'good' & other types of sex as 'bad'.
A well-rounded practitioner uses all three methods, as described in the Bharadvaja Sutta. The 1st method here is to view women as family members only, i.e., mothers, sisters & daughters; the 2nd method is to see the unattractive nature of the parts of the body; the 3rd method is to abide without any judgments (themes).