It appears that Elasticsearch does not currently support epoch nano. It is an open issue so you may want to contribute to the discussion on GitHub.
https://github.com/elastic/elasticsearch/issues/10005
https://discuss.elastic.co/t/increase-the-resolution-of-elastic-timestamps-to-nanoseconds/24227