Your posts on this topic remind me of a certain other member on this forum who sounds a bit ridiculous because of his insistence that hub motors are all useless.
The fact is that Magura rim brakes are perfectly adequate for stopping an electric bike. In practical use for many applications there's no performance difference between them and discs - if you think they lack modulation it strikes me you've never ridden a bike with them.
If they weren't worth having, they wouldn't still be manufactured and even specified on lots of high end bikes, including some electric ones and even electric cargo bikes.
They're just another option.
I'd certainly rather have Magura rim brakes than the cable discs that my old eBike came with which were utter crap, and also the Deore cable discs I had on my old MTB about twenty years ago which were heavier than Maguras and also crap, and for that matter the Avid Juicy discs that were on my On-One Inbred which completely seized up over a winter. I am still annoyed at those - how much more would it have cost to make them with stainless parts?
It's rare for manufacturers to choose hydraulic rim brakes for their electric bikes these days, or any bike, but when they do, they choose the rims carefully considering how the rim is likely to wear. When guys retrofit them, they generally don't even think about their rim, nor how it's likely to wear rapidly in service and fail catastrophically.
Hydraulic rim brakes are usually an improvement when fitted to a non-electric bike, but aluminium rims are not hard enough to deal with the accelerated rim brake wear from the higher average speeds on an electric bike. Very soon, the owner would need to replace a rim, which requires a complete wheel rebuild that is likely to cost more than a reasonable disc brake donor bike.
I agree that cable disc brakes are pretty crappy too, but it's a 5 minute job and about £40 to replace them with good used hydraulic ones from Ebay. Upgrading cable disc brakes to hydraulic ones is the best bang-for-buck upgrade you can do on any bike.
For the same cost as a hydraulic rim brake upgrade, you can buy a suitable disc brake donor bike plus a hydraulic brake upgrade.
In conclusion, it's difficult to justify a hydraulic rim brake upgrade from a cost point of view. They're less safe due to the possibility of unexpected catastrophic rim failure, and they cause substantial inconvenience when you regularly need to replace rims as a pont of service. I would always advise people not to go that route unless there's no choice. People that have not even started their projects need to know and understand the facts so that they can make the appropriate choices.
If you want to practise your religion of worshiping rim brakes, I accept your freedom to choose whatever religion you want, but probably best that you don't try to force it on unsuspecting and naive forum members unless you give them all the facts, not just the single point that they stop quickly..