You’ll need to do this from an Editor Utility Widget.
Take a look at a similar post here: Anyone know how to import a fbx into a camera in a sequence using blueprints? - #7 by ChapmanVRClub
And if you with to do this from Python, here’s the documentation for that: unreal.SequencerTools — Unreal Python 5.1 (Experimental) documentation