@JasonRobertsanother solution that works decently well depending on what your layout looks like: if you just have a box, inset, or other element that sits along the edge, you can edit the vertices of your data frame to align with the border of your legend or whatnot. Really only works in some designs, though - most maps I make I do a lot of (sometimes semi-transparent) floating elements over the frame, and this won't work for that. In my example below, the data frame is actually a mirrored-Utah shape hugging the title/legend box.
In ArcGIS Pro 3.0, the vertex editing option is found when a data frame is selected from the Map Frame tab>Edit group>Edit Vertices. The options for reshaping the frame are a little limited, but it's serviceable if you just need 90-degree angles or have other elements to snap to. I haven't gotten 'Merge Shapes' to work, the menu options are always grayed out and I haven't bothered googling...yet...