Welcome to the Candy Crush Saga Community
Do you have a question or need help with your game? Ask the Community.
We warmly welcome you to the Friendly King Community's Candy Crush Saga forum.
Yes, you certainly can but you can't do that with Apple Id/ Game center in iPhone.
Use either a King profile or Facebook to easily switch between devices and access your game progress and Gold Bars wherever you play. Boosters and extra lives however, are always stored locally on the device you received them on, so they won't move across devices.
You will find the complete steps in the link above which @kiara_wael has already given you.