associate contacts on account to a deal

associate contacts on account to a deal

is there a way to automatically associate all of the contacts on an account to a deal when created?  maybe through a function or workflow?