Any exercise is better than none. Whatever encourages people to exercise is a good thing, I think, even if it's on an ebike. My riding buddy is my age (78) on oxygen 24/7 and has a pacemaker. His ebike allows him exercise he couldn't get on two wheels otherwise. For those who consider ebikes cheating, he logged tens of thousands of miles on a pedal bike before COPD. I alternate weight and resistance training with cycling. I have had some minor injuries associated with weights, but almost all have been mistakes mishandling dumbbells picking up or putting down, not doing the lifting. That said, I don't lift excessively heavy and exclusively with dumbbells. My simple home gym setup limits what I can do with barbells.