How can material instances be created from a color table

hi,

as i am totally new to unreal engine (just been watching some UE videos last months…) i have some questions…
i might could use a material configurator for an upcoming project - just a simple scene with a basic “sample object” hdr lighting…

but i would need a lot of material instances (i hope i understood correct) to change few base materials (different rouchness, bump…) but hundrets up to 1000 of different colors

so it would be essential to load a file table with all the colors and proceduraly create material instances
then export to html5 for interactive use on a website and customer can first choose base material then xxx colors

hopefully somebody can tell me if its possible and would make sense (loading time on website…)

thanks in advance