Not with bees not.
Eating plant based sugar will kill and harm more animals that bee produced sugar.
Or do you think that agricultural process does not kill bugs?
I would argue that eating honey instead of plant based sugar would be more vegan.
In general drawing the line of veganism with bugs is… Complicated. As you really cannot have agriculture without killing bugs.
You need pesticides, or some form of plage control. You need to harvest plants that surely will have animals in them. And you’ll need to clean the vegetables of bugs before consumption.
The answer they gave is the gotcha answer. The real answer is that vegans currently don’t consider plants worth moral consideration. Its a non-issue, although I’m sure you could find some vegans who are concerned they are harming plants.
To put it another way, you can harm a plant as much as you can harm a rock. Of course our understanding might change as time goes on.