Locally, many of the kids are riding compact electric motorcycles. It seems they are far more 'socially acceptable' than gas powered bikes. The strict local cops don't care, and neither do the often difficult and annoying bicyclists.
They ride along the bicycle path I use for my morning ride. In and amongst the lower cost Chinese stuff are a few Surron bikes, and Segway dirt bikes, both actually look like they work well. The Segway replacement battery seems to be $1399 for a mid sized pack. ($450-$3000 aftermarket choices)
A friend purchased 3 different Zero full sized electric motorcycles, the 'SR' model, one of the early models had a complete battery failure, not a fire, but failed cells. A replacement battery pack with upgraded capacity was $6K, yikes! I must admit, these bikes are really impressive and fun to ride!
One thing is for sure, a two stroke bike will still run and make rated power 50 years down the road if properly cared for. Whereas a battery might be good for 10 years, maybe.
Even so, something like this might be fun to own, easy to deal with and fit shorter riders.