You will need a working AWS account with a valid credit card in order to buy a domain name through Route 53. Buying a domain is outside of the free tier. You may want to do some research on selecting a good domain name should if you want to use it for a genuine use case later on.