No, hard-boiled eggs do not float.
According to referenced tests for determining if an egg is cooked, the float test is not reliable. While raw eggs can float due to air accumulating inside them, hard-boiled eggs generally sink. The difference in behavior between raw and hard-boiled eggs is more reliably observed through spinning tests or shining a light through the egg.