Can You Hack Free Rider 2 by Editing Files?

No. Free Rider 2 runs its logic server-side, so there is no local file to edit that would change anything.

What does work is the game's own track-sharing system. Searching for Free Rider 2 track codes gives you access to an enormous library of community-built courses, and searching for vehicle unlocks turns up the legitimate in-game requirements. Both are more rewarding than trying to break something that was designed not to be broken.