An electric bike is legally treated the same as a normal bike. You can ride an electric-assisted bike anywhere you can ride your regular bike.