Are lower back hyperextension exercises good to avoid back pain?

Yes. Over time, gravity tends to pull us into a flexed position. Extension exercises counter this effect and help keep the spine neutral. Twisting exercises also help keep the spine limber and lubricated.