Can you boil a sugar solution to get pure sugar?
Yes you can, but it takes a lot of care.
You can't just boil off the water, or part of the sugars will caramellize and change the taste.
It won't evaporate by itself after a certain point, because the sugars attract water.
One certain way would be to heat it under reduced pressure, as the water will boil off at a much reduced temperature.
Whatever you do, the taste will be more or less affected.