Mac three finger tap look-up

Hi, is it possible to enable three finger tap look-up in macOS?
I found the same question on reddit:

If it’s not possible with the pure Anki,
could you please tell me what classes and methods are useful if I try to create an add-on, or to create a pull request to add the future?
Thank you for the awesome application.

Anki is built on a cross-platform toolkit, which does not support all macOS features I’m afraid.