Ya, you can do that.
But it's not a good idea since she has already sat and lost condition for the last 25 days.
I would either break her NOW...
or
adopt some feed store chicks to her during the night... as young as possible. Past 6 ish days... not as likely to work. But we do this successfully, all the time when we want to try new breeds or don't have anything hatching. Or don't want to deal with the extra cockerels from hatching.

I have 2 feed stores and they carry different breeds each week than each other. So I call and see what they have in and what's coming in next, since it's every week. If it's something I like more or the others are already too old, I will wait a few extra days... is not the same thing as 3 more weeks+.
A hen will sometimes... brood until they die.
If she has been eating layer all this time... I would suggest switching to a flock raiser, grower, or unmedicated starter. The extra protein will help her and the added calcium in layer is too much for birds not in lay.... long term *can* (doesn't mean will) cause gout or even kidney failure.
I use flock raiser crumbles for my whole flock... roosters, broody's, chicks, molter's, juveniles, and layers. Oyster shell is available free choice on the side for layers.