If an object is not in contact with anything and there is no friction, it can indeed move with a constant speed. This is known as uniform motion or constant velocity. In the absence of external forces, an object will continue to move with the same speed and direction indefinitely.
However, it's important to note that in the real world, it is practically impossible to eliminate all forms of friction entirely. Even in seemingly frictionless environments, there are still other forces at play, such as air resistance or the gravitational force. These forces may not be as apparent or significant compared to other forms of friction, but they can still affect the motion of an object.
If we consider a scenario where all sources of friction and other external forces are truly eliminated, and the object is set in motion, it would indeed continue to move with a constant speed. This is consistent with Newton's first law of motion, also known as the law of inertia, which states that an object at rest or in uniform motion will remain in that state unless acted upon by an external force.
It's worth mentioning that in the absence of friction, the object can still be subject to other forces, such as gravitational forces or electromagnetic forces. These forces could cause changes in the object's velocity or trajectory, but they would not directly affect its speed.