Your Apple ID and your iCloud.com email address are not necessarily the same. I have a Gmail address as an Apple ID and an iCloud.com email address. Is that what your setup looks like? If so, I don't believe you can change the Apple ID to the iCloud.com address if that's what you're asking to do. I seem to remember there used to be documentation on this. However, all it currently says is that you can't change your Apple ID to an iCloud ID that was created within the last 30 days.
Change your Apple ID - Apple Support
If you are getting rid of the Gmail address, you can change your Apple ID to another non-iCloud email. Or, just leav
00004000
e the Gmail account active so that you can use it if you ever need to get notifications about your Apple ID and give people the iCloud.com email to contact you.