Designing with your clients: Good or Bad Practice?

I'm a junior Full Stack Developer doing some freelancing here and there. I just wanted to ask if designing (UI/UX) with your clients is a good idea? To what extent should they be involved?

For instance, it's not freelance work but I'm recently making a portfolio website for my gf and she proposes designs to me which from a web dev perspective, doesn't really look right. It's not terrible but you know what I mean.

But in previous projects, my clients have been involved in designing the UI/UX with me (one literally thru the whole design phase). I do get ideas occasionally by discussing with them, but to further improve my workflow, is this a good practice?

Thanks.