Russell,
Oh... If you are talking about a FeatureLayer than the info window that is poped up when you click on the feature has nothing to do with the identifyTask. Is that what you are talking about?
Russell,
You can but... What is your end game??? The identify task is suited for clicking on a map and having it return results from all map services that are included in that map including featureLayers. If you are just trying to get specific info about the actual feature (graphic) that you click on then why not just use the info window or the new 2.3 PopUpInfo?
URL to the ArcGIS Server REST resource that represents a map layerSo I would say yes.