How do I make a spaceship where I can walk around in a ship while said ship is moving freely?

Nothing at all.
They just work with the character blueprint.
Nothing to it.

Replicated movement is a different story.