Can I display different content based on the user’s past purchase history?

Absolutely.
If you are using WooCommerce or Easy Digital Downloads, you can leverage If-So to display dynamic content based on the user’s previously purchased products.
To learn more: