I mean technically most vegetables are actually fruits so you would have to do so.
The reason why you aren’t supposed to do that is because fruits and vegetables have different ratios of carbohydrates and protein.. Fruits are higher in simple sugars and are broken down sooner and vegetables tend to be higher in protein, so they take longer to digest.
It probably won’t hurt, it’s just no optimal to mix them.