You can use invisible sprite at either side, and then swap between player in and out of boat, maybe with a variable on the boat. If boat is overlapping sprite, press E, swap between variables. One value means he gets in the boat and one means he gets out. You could set the position for the player when alighting with a variable on the sprite you are overlapping.