the flex can pinch run for the DP, who doesn’t play defense. Not sure what you’re saying.
The flex can run for the DP, but if they do the DP has left the game and it counts as a substitution for the DP. The 2nd time you remove that particular DP they are done for the game and you would have to have another eligible sub take the place of the DP to continue to use that position.