Yes, you can edit wordpress templates with Dreamweaver. The path for the template files are root/wp-content/themes/yourtheme. All template files contain .php extension. Depending what what you want to edit, those files could be edited by opening them in dreamwaver, but you need to know pho and css to be able to do it. Otherwise there are many wordpress plugins that could be much easier to use if you don’t know php pans css.