Is it possible to use terraform to create an instance of elasticsearch from scratch?

Hello,
I am new to terraform.
I see a lot of project online but none of them works plug-and-play.

Can we use terraform to create an instance of elasticsearch from scratch on docker-desktop using kubernetes (and helm possibly)?

My understanding is that kubernetes is the provider and that we could build a elasticsearch instance on kubernetes using kubernetes options and elasticsearch images. But I don’t know how. Could someone point me out on the simplest solution where I could make it works (like a hello world)?

Thank you for your answers.