Yes, absolutely! Broccoli turning yellow is a sign that it's wilting, but it doesn't mean it's gone bad. Smell it and see - if it smells like broccoli, it's fine. If a big part of the broccoli has turned yellow it might be a bit bitter. I then recommend removing any parts with a lot of yellow and using the rest.