Yes, CHM will give you a better opportunity to match ophtho (I say this as a COM grad who thought I got a great education). DO vs MD certainly matters when it comes to what tier of program will interview you in certain fields and whether the door will be open to an average applicant in ultra-competitive specialties.
The majority of specialties would be open to you as a COM graduate, however.