OP, you are talking about two different things.
1) can I do routine gyn exams/pap smears as an internist?
Yes, and you will be required to do so as a medicine resident. We had to do all the ones for the women in our resident clinics. We had to document that we did a certain number during residency (not a high number, but it had to be documented). You will do breast exams also.
2) Can I do colposcopy and other procedures often done by OB/Gyn and fp docs? In my particular residency, it wouldn't really have been possible to learn this, I don't think. We only had maybe 2 months of electives in the entire residency, and I don't know that good ob/gyn clinic rotations, that would have taught us these skills, could have been set up during those...I doubt it. If your goal is primary care that includes gyn, you need to pick your IM residency carefully, because a lot of the ones that emphasize specialization (i.e. not primary care oriented), and really any one that doesn't include a women's health track, are unlikely to teach you what it sounds like you desire to learn.
After doing 3 years of IM residency, it is possible to pursue a women's health fellowship of 1-2 years. There are several (though not a ton) around the country that I have seen ads for. It shouldn't be hard to get in if that is what you desire.
I kind of agree with the above comment about why doesn't the OP just due fp. If you really want to do these types of procedures, and fp residency will expose you to a lot more women's health than the vast majority of IM programs. Alternatively, seek out the IM programs that do have a women's health track, and/or do one of the fellowships I mentioned above.