Yes, you can, but you'll need to be careful. Working with electric power tools around the water can be dangerous, and power tools may get ruined if you drop them in the water. Also, you don't want to fall in or hurt yourself trying to reach parts of the boat away from the dock. So turn the boat around in the slip to reach the far side, and constantly adjust the lines to keep the area you're working on close.