Can Steady Aim be used by a rogue aboard a moving ship?

Can the Steady Aim optional class feature for rogues from Tasha’s Cauldron of Everything be used when aboard a ship in motion, or other similar moving platform? What about a horse? The Steady Aim action includes the phrase "You can use this bonus action only if you haven’t moved during this turn".