Could it be possible to measure the speed of light using the Doppler effect of light? I would propose an experiment where a light source is moving towards a photo detector at a constant speed, due to the Doppler effect the light detected would be blue shifted. Then the light source stops moving instantaneously at a fixed point away from the detector, causing the light to shift towards the red end of the spectrum. If you where to measure the time where the light observed is not shifting towards "blue" or stable "red" but is actually shifting from "blue" to "red" could you calculate the speed of light?
There are plenty of hurdles I can imagine with this setup. I also know that our units by convention are pegged to the speed of light. I just want to know if in theory this setup could work, and if not why not?