Possible, but, definitely, neither trivial nor easy.
You have to move/reposition every single piece of the group (ship, containers, etc) a little bit every frame to simulate a smooth movement.
The math for moving in a straight line at a constant speed may not be that complex, but it gets difficult if you want to make curves or speed up and slow down.
While moving, all regular statics lose their solidness, so NPCs and the player will fall thru. There have been discussions on how to work around this problem tweaking the mesh, but this is not my area and I don't know how it is done.
Also, you may want to take a look on one of the pilotable ship mods to get some ideas.
For a simple example of moving statics, check the code: http://www.gamesas.com/index.php?/topic/632323-reqwip-modfood-snippets-tips/page__view__findpost__p__13319870