You should not drill a hole in the hull - you can drill one in the stringer though. Or just use epoxy to make a mount (piece of plywood).
The float switch must be slightly higher than the pump, otherwise the pump will run dry and they don't last long doing that. Although normally the pumps on well maintained Bavarias die from never running, as there is no water in the bilge if the boat is leak free.