To make your Sim a witch in The Sims 2 without cheats, you'll need to befriend an existing witch.
Head out to community lots and keep an eye out for a witch. Once you've built up a strong friendship with them, you can ask them to "teach you the ways of the light" or "the ways of the darkness." Agree, and your Sim will learn witchcraft the legitimate, in-game way.