If you had set up an Account Recovery Contact ( Set up an account recovery contact - Apple Support ) you can also get a verification code that way.
You can try account recovery to see if you can regain access to your old account:
If you can’t sign in, access a trusted device, reset your password, or receive verification codes, you can request account recovery to regain access to your account. This article explains how to recover your Apple ID after a waiting period - How to use account recovery when you can’t reset your Apple ID password - Apple Support
If you just want to create a new account, this document will show you how to create a new Apple ID (create an Apple Account) --> How to create a new Apple ID - Apple Support