It's highly likely that there are a couple tucked away somewhere, yes.
But there are a couple of important limiting factors:
(1) Multiple high profile sports (athletics, swimming, cycling, rowing, boxing) have banned it.
(2) Of the 184 countries competing in this year's tournament, it's realistically only around a dozen or so (the big English speaking countries plus a couple more in Western Europe) that are sufficiently captured that they'd consider disgracing themselves by entering a man into a woman's event. This isn't as big a limiting factor as it seems though, since as the variations in team size in the opening ceremony made clear, the overwhelming majority of Olympic medals are for events that aren't really affordable/aren't really accessible on most of the planet. So realistically this small handful of captured countries will, alongside China and so on, be supplying most of the credible entrants in most of the minority sports.
Short summary - there'll be a couple, almost certainly from the USA, Canada, NZ, Australia, or similar, hidden away in archery or shooting or similar.
The DSD issue is different, those guys have been treated very leniently, provided they take 'HRT' male athletes with a sufficiently strong DSD are allowed even in athletics and so on. Christine Mboma was the one who got pointed out by TV during the opening ceremony. I daresay there'll be a few others. Caster Semenya refused to take female hormone treatment, presumably on account of a dislike of their feminising effects.