Yes, most, but certainly not all, rental companies allow their cars to be taken on ferries. However, you must receive permission ahead of time and will likely be charged an extra fee. Be absolutely sure the rental company allows this in order to avoid potentially large charges.