Spline Roads - In Game like City Skylines

Has anyone tried creating an In-Game (During Gameplay) Roads using spline like City Skylines?

I’d appreciate if anyone can point me into any tutorial. Because the ones I watched is not during gameplay.

Thank you