Yes. You need not have an existing website to register a domain name. You can purchase domain name at any time.