Can grafana community 9.x use elasticsearch 4.x ~ 5.x?

Hello, I tried to add elasticsearch data source but the version is 5.x, and my Grafana Community version is 9.x. Can I still add elasticsearch to my grafana even the version is deprecated?