I can create a file called TestAspx.aspx
in Notepad with the following content:
<html>
<body>
This is <b>Awesome!</b>
</body>
</html>
I can then upload it to my SharePoint site:
Add-PnPFile -Folder /product/development/repos/Pages -Path .\TestAspx.aspx
If I then go to /Pages/TestAspx.aspx, I'll see my page in HTML.
However, if I wanted to display the standard site navigation and menu bars around my content, is there a way to do that? I guess I'm asking how to apply the default master page to my page. Basically, I just want to provide HTML content and have SharePoint take care of everything else.