See the instructions below for changing an Apple ID.
Change your Apple ID https://support.apple.com/en-us/HT202667 See this heading If your Apple ID is a third-party email address. It bears specifically on what you want to do--"you can ... [change to] an @icloud.com, @me.com, or @mac.com email address that's already a login alias or alternate Apple ID for your account." To see these addresses, sign into your Apple ID account page.
Before changing your Apple ID using a computer, sign out of all Apple services that use your Apple ID. If you are going to use an iPhone, iPad, or iPod, then stay signed in with your Apple ID on only that device. This instruction is taken from the above document under the heading Before you change your Apple ID.
For sign out purposes, see Where can I use my Apple ID? https://support.apple.com/en-us/HT202659 “This list is provided for informational purposes only and is subject to change without notice. It's not intended to include every feature or service that uses Apple ID. Visit the Apple ID support page for more information.”
And see What to do after you change your Apple ID or password
https://support.apple.com/en-us/HT204071