Is it possible to code AMP webpages and landing pages in HubSpot from scratch?
Not currently. Right now HubSpot has an automatic AMP support for blogs. There is a basic configurator for customizing the AMP blog look and feel but does not give you full control.