Generally it is okay to edit stock photos. Just be sure to double check the license to ensure that it is allowed to be modified.