Ouch! When I joined the german navy in 1980 this was an option. After seven from eight years I had the 8th with full pay for my education and a another 18 month at 2/3 pay. Plus an allowance for books and a typewriter (hey, that was 1988).
But the german navy was pretty safe then, just one crash with a british destroyer at Portland Bil.
Whe met a US frigate, the USS Glover, since retired, first in Germany and a year later in Charleston. I had a chance to serve two weeks on that ship. They had a sign hanging in the First Class Mess
"Join the navy,
see the world,
meet different people
.
.
and kill them."
The seabees where even worse 🙂