Yes, I've soldered several. I use a hair drier to heat the float and turn the float all around to find the leak, then hold the leak down so the hot air drives the gas out.
When you get all the gas out clean the leak area and solder the clean brass as quickly as possible to avoid getting the float too hot. If it gets too hot the hot air will want to keep escaping the float and you'll wind up with a soldered repair that still has a leak.
You'll often see a small solder spot on floats. This is a small factory vent hole that lets the air escape while the seam is soldered. Then with the float at room temp the small hole is quickly soldered shut.
On a couple of floats with cracks I've had to unsolder this vent hole, then solder the crack, let the float cool, then go back and solder the vent hole.