Technic pieces won't float because they have no internal air pockets, but Lego has produced quite a few boat sets with floating hull pieces. Here's a list: http://brickset.com/sets/list-5930
I would imagine that you could also make a floating contraption with enough bricks stuck together in such a way as to make the internal spaces airtight, but I've never tried it.
I would imagine that you could also make a floating contraption with enough bricks stuck together in such a way as to make the internal spaces airtight, but I've never tried it.