Yes. Version codes are unique identifiers for different versions of your application, and they must be different. Version codes must also be integers. On the other hand, the name of the version is what is shown on the Google Play Store for users, and it can be the same.
source share