Can you make a camera go up and down on the Y axis?
Using camera.transform.position as you do with another object...