Yes, registering Spore is perfectly safe — it is the standard step for tying your copy to an EA account and accessing online features.
Just make sure you are entering your details on the official site rather than a lookalike.