Register domain name via script

He guys

Is this possible without having my own registrar

  1. Domain is searched for via a search box

  2. Domain is registered

If I have to do this through a company such as Enom then that is fine. The point of it being it will be other customers searching and I dont want them to go through the registrar process and all the names will be registered to me

Thanks in advance