Maybe. It seems to me that the submarine currently has 1 center of gravity as it moves and rocks. As of now, the sub does angle a bit.
To implement, it would need 2 centers, or rather, 2 foci as in an ellipse. It would then move along those two points instead when angling itself.
But idk shit about the game's code. It's best to leave that up to the devs to decide.