As of now, frappe doesn’t qualify as AMP. Also, none of front-end framework including Bootstrap, Vue.js, react, angular etc… or server side framework qualify.
Thats basically because the purpose and the playground of apps (mobile first vs desktop first) are different.
However, you can write your own server side logic to access frappe api to generate AMP compliant dynamic/static pages using amp-components. ecommerce user flow can be built too.
However, most ecommerce/news sites etc generate AMP more as SEO strategy where given supposedly light weight AMP act as landing page from where user navigation starts to the full fledged (web) app.
Final note: Even if a webpage is non-AMP, the guiding principals of AMP can be used to make pages lightweight, faster, less battery hogging.