Yes. VFR pilots can fly any course they choose and can qualify as a cross country flight by landing 50 nm from the departure point, prior to returning.