Yes, work done or energy transfer is equal to force applied x distance moved whilst force is present.
Explanation:
Be careful, there are situations where no work is done (satellite going round the earth) because the force and the direction moved are not parallel, but perpendicular.