My mother prefers eating apples to eating oranges.
My mother prefers apples to oranges.


Are both sentences fine?

Thanks.