How to get Objects to go around a Track and custom shapes

Hello, total beginner here.
I am trying to get simple cubes to run around a Track like this

can someone point me in the right direction if there is a tutorial, guide, or just some general tips on how to get cubes to race around the track and stay within the track.
I got basic collision and movement working, but they only move forward right now.

Also is there a way to create custom shapes? To get the track in the editor I had to buy a asset and import it.
Is there a way to create a shape of the track within Playcanvas?

Any help would be greatly appreciated, thanks!

Perfect thanks! Ill take a look