Yes, you can. However, note that if your Gmail account has previously served as a rescue email for your primary iCloud account, you will be unable to use it to create an Apple ID. Additionally, be aware that having two Apple IDs on the same iPhone is not possible. Consequently, if you already possess an iCloud Apple ID, there is no need to create another Apple ID using your Gmail account.