It's up to your DM's call. In the skulls and shackles player's companion, many of the spells that do fire damage, but don't usually persistently last, can set fires on a ship. I would probably rule yes they can, but again, it's up to the DM to decide.