I want to modify the template of infowindow to add an iframe.
It is possible to do this ?
Sure you can. There are people adding a google streetview in a popup using an iFrame. Take a look at this doc page:
Retrieving data ...