I am an artists had have done it on numerous occasions. I also studied the male, but more often then not, those that modeled for us were totally unattractive people. If I hadn't studied anatomy by drawing and painting it I would be a very lousy artist. You need to understand the structure underneath the clothes even if you really only want to draw clothed people and the only way to do that is by practicing with nudes....
No one ever questions a doctor that studies anatomy, he has to to be an effective doctor, I don't see that much of a difference.
But the truth is it is about your heart and what is going on there that is the most important. An artist can learn to turn off their brain very quickly and be so concentrated on copying the form and have zero lust in their heart. Some can not because they don't want to do it, they want to allow themselves the opportunity to lust, but even then those people have to shut that part off a little to effectively draw. The first time I had to draw a nude I was very nervous and it was a female. The first minute or two felt strange, not lustful just strange, and before I knew it my brain shut off and I was just copying form. Even from my first experience there was no lust in my mind. Other sessions after that on occasion would pop up a lustful thought very quickly but they were very easy to push out of my mind but that only happened very rarely, maybe for a few seconds in one out of a couple dozen sessions.