If your friend asks you to and for some reason cannot create their own account then that's fine provided they understand the Creative Commons licence. You should credit them as the photographer when submitting.
See related article: Photos not taken by submitter