How can I make the camera have left and right movement without a player.

If you press right arrow your camera slowly moves right etc…

Attach a script to the camera that contains this input based movement code.
More info: Recorded Video Session: 2D Platformer Character Controller - Unity Learn