Thank you for all of your comments. I think I may do it anyway, despite what penalties exist because I don't want to be canned into public transport unnecessarily: Covid-19 risks and all that. So I've just ordered a 250W Bafang Kit, specifically this one (amazon link if allowed):
https://www.amazon.co.uk/dp/B07W22PJF5/ref=twister_dp_update?_encoding=UTF8&psc=1
The only illegal part of that kit is the throttle, which isn't limited to 6km/h... the workaround is to not install the throttle control - or risk bricking the control chip on the motor by using software not approved by the manufacturer to rewite it's firmware, which invalidates the 12 month warranty. I've heard mutterings of a 60 mile range but that's not enough for some of my work related journeys. The seller sends kits from UK, Belgian or Chinese warehouses (mine's arriving from Belgium, hopefully before we crash out of Europe [they only had the 48T kits in the UK, which would have been a 3 day delivery, according to the seller]), depending on the configuration chosen. I chose the 52T version because I'm bringing my ancient folding Dahon Helios back into service... and at my extreme age and total lack of fitness, I can't afford to lose any more teeth whatsoever - I can't pedal up hills even without the added weight of the motor and depleted battery (which will have to go on the pannier, there's no room for it anywhere else). It suddenly struck me that it'd be wonderful if I could charge a second battery in a trailer while exhausting the other one - I can't find details of any fines/sentencing guidelines which might be applicable.
If you stop at a layby and run your generator there then it's OK.
The darn things are so slow to charge: 6 to 8 hours, was hoping to avoid twiddling my thumbs on the side of the road.
Technically, if you're really picky, even a 250W bike is illegal if it doesn't have the sticker or plate.
The Bafang kit isn't supplied with a sticker, but I found two on ebay.
Just look at the way the DfT introduced the 250LPM class to allow throttles on pedelecs while that was still illegal under our EU membership. In fact having looked into it, that remains illegal even though we've left the EU. Obviously the DfT know it but don't care.
Grey areas, I like grey areas...
Only if the penalties are very very light, or impossible to enforce. It might be a test case for this nutcase.
Cycle on for 40 miles or so (or until shift change) and carry on as you were.
I've never been able to get away with anything. It's because I'm devoid of charm.
The problem is to find a small enough, light enough and quiet enough generator to do the job. The best are about 9kg and take up quite a bit of space if you leave room for the charger and spare battery.
Also, I need pure sine wave generation, to prevent the battery exploding. Maybe this generator:
https://www.amazon.co.uk/Instant-Portable-Suitcase-Inverter-Generator/dp/B07XZMFV5H/
p.s. Wow, is that yours? (trailer). Time to get that rivet gun...
If manufacturing electric on the road was illegal bicycle lighting dynamos would of been outlawed years ago.
It's a matter of scale, isn't it? The scale of maximum discomforture through legal means by the State, in order to kill joy.