I regret to share that there is no provision on Aspose.Slides API to load the HTML file directly as Stream inside Presentation class constructor. The API expect valid Presentation file (PPT, PPTX, ODP etc) either on disk or from stream. The error that you are getting is correct and it is expected behaviour of the API. We will update the example in the shared link as well. The API only allows importing HTML content inside TextFrame of any shape inside presentation slide only. Please consider following example for importing HTML content.
I agree with you and we are going to update the code on website. I have already shared the sample code that you can use to import HTML inside PowerPoint. You can export word document page by page to HTML and then import individual HTML files to separate slide shape text frames to achieve the desired results.