Short answer: No. Grand Theft Auto: San Andreas does not feature any real-world licensed vehicles, so you won't find a Ferrari—or a cheat to spawn one—in the game.
While you can't drive a prancing horse, San Andreas offers several supercars that deliver similar thrills:
If you just want a random ride, enter COXEFGU during gameplay. This spawns a random vehicle from the game's pool—it might give you one of the above, but you cannot target a specific model.