Certainly! In the context of your sentences, the correct preposition to use is "on."
"I like riding a jet ski on the sea."
"The boat is sailing on the sea."
When referring to riding or sailing on water surfaces like the sea, "on" is the appropriate preposition to indicate the position of the activity on top of the water. This applies to both jet skis and boats.