Automaticly generated offerdocument based on the deal information

Automaticly generated offerdocument based on the deal information

Is it possible to make a template for an offerdocument, and get some of the data directly filled out from the deal, and acount?