Usually not, but it really depends on the use case and visual style. For this Penpot plugin I messed around with, I generated a base illustration (pixels) and then converted it to vector to have more control over the colors directly via JS/CSS. https://www.youtube.com/watch?v=3KYLuvunSsE
How about you?