Any AMP page can be HTML5 compliant. AMP doesn't require that the page pass an HTML5 validator, but is entirely compatible with HTML5.
JavaScript and Web Components are part of the HTML5 standard. This is simply the Extensible Web (https://www.w3.org/community/nextweb/2013/06/11/the-extensib...)
My profile discloses that I work on AMP.