In most cases illegal and hazardous! A pedelec must not get considdered as a conventional bicycle with an attached electric drive unit. Pedelec manufacturer invest high amounts for development, testing and other important issues that must get respected.
I'm busy working on my blog posts. Watch this space!