You can engage in ship to ship combat and sink enemy ship, you can get close and ram/board it, or you can use “auto board” to skip ship2ship system, take some damage and board the ship. Don’t expect it to be realistic or anything like that - system is heavily abstracted.
Is it actually possible to get sunk by the opposing ship during ship combat as well?