Sure you can.
Move the iTunes Folder from your Music Folder to the external drive.
Launch iTunes with the Option Key held down, choose the folder on the external drive.
Move the iPhoto Library from the Pictures Folder to the external drive.
Launch iPhoto with the Option Key held down, choose the Library on the external drive.
Once you are sure the copy is ok, you can delete the originals.