No official free Sonic RPG matches Final Fantasy's scope. However, these fan/indie projects come closest:
Caution: Download fan games only from official dev sites (srB2.org, Game Jolt verified) to avoid malware. No project fully replicates a Square Enix-scale JRPG.