Yes. Previously this was not allowed, but that policy has been changed, and you can now safely include affiliate links in Substack content. It is a great way to further monetize your content.