Yes. Frictional force opposition or relative motion of surfaces in contact that’s why an object placed on a table unable to move on its own because it is unable to overcome friction similarly a moving ball comes to rest after sometime due to friction.