How to integrate ElasticSearch with AEM Dam and Pages?

Has anyone integrated Elasticsearch with AEM? I have a headless AEM architecture and am seeing how feasible it would be to implement a frontend solution for search that would be integrate the AEM backend to index webpages and documents/videos (in the DAM)?

Really appreciate any insight or perspectives on this!