Well, the number of hardtail bikes I've seen on the tough top section of the local mt trails,,,, ZERO. See plenty of em on the lower trails, where I would ride a beach cruiser anyday. Hardtails have their place, that's for sure. But pedal bob on a good off road ebike is non existing, you'd have to be pedaling for starters.
20 mph is about my speed too, but I don't pedal till it's too steep to stand on. Don't have to, too busy just steering through the shit I ride.
It does matter what "offroad" is in your area. Here it's rock staircases. But I do know what you mean, I've seen DH hucks that are mind blowing using hardtails. Like the 100' cliff jumps I once took snow skiing, it's all in the landing slope angle. Same with vert riders that don't use shocks. But you wanna bend a rim, come ride a hardtail on my local trails. Riding over bowling ball size rocks for a few miles on flattish slopes will do ya. It's the "rocky" mts here.