Luckily lecturers only have to lecture during university term time which is about 30 weeks per year, and some of those weeks don’t have any lectures in because they are exam time, so it works out at about 24 weeks of lectures. Lecturers also don’t lecture all day every day – they would have a few hours per week depending on how many subjects they teach. So in theory there should be time in between lectures and during the university holidays to do some research, but I agree that it sounds like a difficult task to balance!
I have been doing some helping out with lectures over the last year and usually spend about 1 day per week helping students in lab do experiments or answering their questions about the theory they have learnt.
If you lecture in university part of your job is to conduct research, so there is no conflict here…I am too old to go for a PHd, but would have liked to have done it when I was younger, but needed to keep working with GM at the time.