Yes! All you need to do is install Grammarly for Mac. For more information on how to use it, please see this guide. To see if your Apple device is compatible with Grammarly for Mac, please check this article.
You can also use the Grammarly Editor online and the Grammarly browser extension.