So if you use the mew glitch from RBY and got a mew with DV's that would make it shiny if it were in gen 2, and then transfer it into gen 2, will you get shiny mew?
Yes you can. It's just like any (reasonable) Pokemon you obtain. if it has correct DVs then you could make it shiny if transferred. It might take a while but it is still possible.