You can switch your Apple ID with no loss of data, yes. To make the changeover, though, you’ll need to take a few steps. A backup of all of your data should be your first priority. After that, log out of all of your hardware and software using your previous Apple ID. Then sign in to your devices and apps with your new Apple ID. Restore your backup to your devices to finish.