I'm not sure what changed about me over time, but there was a while where I loathed the doctor and having to have them check me. Something about the last few years, though, has flipped it on its head and while I wouldn't say I've fetishized getting/being naked at an examination of some kind, I'm definitely not resisting opportunities to do so.
For example, when I first started seeing my derm, I was still regularly wearing thongs. I kept it on during my examination, but to have her check something on me it needed to be removed. It was a bit of a thrill for me at the time, but since then I don't think I've worn underwear to any of my derm appointments, now with two different dermatologists. Of course, being the professionals they are, no comments are made, and I don't rush to redress/cover myself and they carry on normally through the rest of the appointment.
I just recently switched my PCP and had my first appointment with her. Once again, into the gown, nothing on underneath. I had to grab my phone to show her my test results from previous blood tests (my old records hadn't cleared into their system yet) and since the gown kept slipping off me I (with consent) just tossed it on the medical bed, and spent a good couple minutes naked waiting for my phone back.
It's little things like this, but I don't mind this level of "baring it all" when it comes to my exams.