Yes, it is possible to have two Apple IDs on one iPhone. Here are some steps you can follow:
1. Go to "Settings" on your iPhone.
2. Tap on your name or photo at the top of the screen.
3. Scroll down and select "iTunes & App Store."
4. Tap on "Apple ID" and then select "Sign Out."
5. Enter the Apple ID and password that you want to use and sign in.
6. Repeat these steps to add the second Apple ID on your iPhone.
It's important to note that using multiple Apple IDs on your iPhone can lead to some confusion, such as syncing issues and difficulty in managing purchases. If you are considering using two Apple IDs, you may want to do so with caution and ensure that you fully understand the potential consequences.