It still wouldn't be safe.Non toxic doesn't mean 100 percent hamster safe,some things could source artificial dyes for pigments or other questionable ingredients despite claiming to be non toxic(like Elmer's glue which uses synthetic petroleum).
DIY dyes using hamster safe foods are much better,and take the risk of taking unnecessary chances out.Soy paint for example doesn't have an ingredients list or MSDS so it's questionable at best