By taking the positional dimension(s) and varying it in driveassembly, it should work.
Of course, it's like shooting a dimension to move the component.
edit: otherwise you extrude in the assembly, the outline of the inserted part, according to the path it should have. And you'll have interference. But nothing auto in there either...
The structural dynamics option allows you to move a part or sub-assembly (almost) just like in real life.
If the part comes into contact with another, you will not be able to continue moving in that direction, but other movements are still possible.
The few times I wanted to check a mountability, I did it like this.
Personally, the space pilot allows me to manipulate my part as if I had it in my hand, it's practical to do translations and rotations at the same time, but even without this gadjet, you struggle a little more but it works
In automatic: simply consider all the possibilities, and report if assembly is impossible! I know it's a bit utopian and I suspected that it didn't exist, but that's what my colleague asked me!
@Pascal: sorry but Opiep offered collision detection just before you!
In addition, the idea of creating an extrusion of the profile of the part, then making a 3D sketch with a scan of it seems simple and effective enough to see the interferences.