Can I visit a former professor during office hours?

I just wanted to visit to say hi and tell him how my semester is going so far. I am also still trying to figure out my core concentration (a school requirement that’s basically a minor of my choice) and I wanted to discuss some possible ideas with him. I will definitely wait until any current students finish meeting with him. It’s the beginning of the semester so I figured it might be a good time before things get really busy. I have a good relationship with this professor by the way.