UX designer that's frustrated with PMs

Hi everyone. First off, love this community. I’m curious if there are designers in this forum as well. If yes, I have a question for you all. I’m noticing that more and more PMs get to own the user experience flow and as designers, you basically just execute what they say. I’ve been finding this extremely frustrating. Any advice on how to own the user experience, while PMs play the role of providing input and sharing their business insights into what we’re building.