Buddhism itself does not frown on the use of magic.
In Thailand the monk use a form of magic called "Yantra".
A Yantra can a be amulet or a painting or more common tattooing.
Monks will tattoo Buddhist symbols, like the MaNi symbol to protect themselves from demons and sinful acts or a tiger to invoke the spirit of the tiger. A Yantra amulet is a handmade from things like gold,silver,wood,copper,brass it depends on what the monk has at the time. He will chant sutra's and mantra's as he is making it, after it done it can be used for protection,good luck,good health, bring forth money to your home etc.
Yantra's are similar to the Tibetan Mandala, the only difference is after the Mandala is made its destroyed unlike the Yantra, the yantra is never destroyed.
The use of Yantras is ok, but its not something most monk would use, because you are invoking the power of gods,spirits and Hell kings.
To practice witchcraft and be Buddhist can be a deadly sin, but if you use witchcraft just for the good of others, it won't be a heavy sin, but a light sin. But still its a sin.
All Buddhist practice magic through the use of chanting Sutras and mantras. Like the King of all mantras is "Om Ma Ni Pad Me Hum" the six syllable prayer. Chanting that prayer with your heart (believing in its power) can destroyed Hells, destroy demons,Demon Kings,Hell Kings, destroy sins and bad karma, bring forth blessings of all kinds. But you must chant for the good of others, not yourself.
So the answer to you question is, yes. You can be Buddhist and use witchcraft, only if you do it for the good of others, not your self.