Link Camera to Spline Curve?

Is it possible to link the camera motion around a tall object like a building to rotate around following a self drawn curve path? I couldn’t figure it out.

Follow path constraint

You can draw a path with the grease pencil and convertthat to a curve or just add a regular curve object