The internal feature I tried to sketch doesn't have a constant draft angle. And the mating part that goes through is extruded (with zero draft angle). The function of the opening is clearance only.
I thought, if this is legal, it would be easier to call it out on the drawing, gives better consistent gap (nominal gap) around the mating part, etc.
My concern was profile of a line is a 2D control, where position is a 3D control. However, logically, the curve edge is an irregular feature of size, and position should be able to control the location. Maybe I'm wrong, it's not legal to use them together.