It should be fine. Would've been better to get double-butted spokes or the triple-butted ones Al1943 mentioned.
If you are using an electric motor to drive the bike, that's definitely a contributor to the broken spokes.
What's the HP-rating of the motor?
What's the gearing-ratio?
How is the throttle controlled?
Is it linked to the brakes?