Somebody is currently doing that:
An external contributor is currently building first class support for "My simple ad network that just wants to put an image with a link on the page" https://github.com/ampproject/amphtml/issues/5541
There are other ways to do it, though.