One of the earliest the original answer could point to is Shadow Warrior (1997), where you could climb into small boats and shoot from them.
It's worth being honest that this isn't the actual first — racing games and vehicle-based titles go back to the early arcade era, and by the late 90s drivable vehicles were already reasonably common. Shadow Warrior is notable more for folding vehicles into a first-person shooter than for being a pioneer.
If you want a genuinely early example, the racing genre is where to look rather than shooters.